Optional
concurrencyThe number of concurrent requests to use
Optional
maxThe maximum time to wait for a response from the server, in milliseconds.
Optional
orderedIf false
, the operations are inserted in an arbitrary order. If an error occurs, the operation stops but the
remaining operations are still executed. This allows the operations to be parallelized for better performance.
Options for insertMany when
ordered
isfalse
.Field
ordered - If
false
or unset, the documents are inserted in an arbitrary, parallelized order.Field
parallel - The number of concurrent requests to use.
See
Collection.bulkWrite