public batchInsert ( string $collectionName, array[] $documents, array $options = [] ) : array | false | ||
$collectionName | string | collection name |
$documents | array[] | documents list |
$options | array | list of options in format: optionName => optionValue. |
Результат | array | false | list of inserted IDs, `false` on failure. |