Optional
chunkThe number of records to upload per request. Defaults to 50.
If you have large records, you may find it beneficial to reduce this number and increase concurrency to improve throughput. Leave it unspecified (recommended) to use the system default.
50
Optional
concurrencyThe maximum number of concurrent requests to make at once.
Optional
orderedIf false
, the records are inserted in an arbitrary order. If an error occurs, the operation does not stop
and the remaining records are inserted. This allows the operation to be parallelized for better performance.
Optional
timeoutThe method timeout override.
See TimeoutDescriptor for much more information.
Options for a generic
insertMany
command using the Data API whenordered
isfalse
or unset.Field
ordered - If
false
or unset, the records are inserted in an arbitrary, parallelized order.Field
concurrency - The maximum number of concurrent requests to make at once.
Field
chunkSize - The number of records to upload per request. Defaults to 50.
Field
timeout - The timeout override for this method
See
Collection.insertMany