batchInsert() public method
Inserts batch of new documents into collection.
| public array|false batchInsert ( $collectionName, $documents, $options = [] ) | ||
|---|---|---|
| $collectionName | string |
Collection name |
| $documents | array[] |
Documents list |
| $options | array |
List of options in format: optionName => optionValue. |
| return | array|false |
List of inserted IDs, |
Please login to continue.