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 maxThis temporary error-ing property exists for migration convenience, and will be removed in a future version.
maxTimeMS option is no longer available; the timeouts system has been overhauled, and timeouts should now be set using timeout, and defaults in timeoutDefaults. You may generally Ctrl+R replace maxTimeMS with timeout to retain the same behavior.If true, the records are inserted in the order provided. If an error occurs, the operation stops and the
remaining records are not inserted.
Optional timeoutThe method timeout override.
See TimeoutDescriptor for much more information.
Optional vectorThis temporary error-ing property exists for migration convenience, and will be removed in a future version.
$vector field in the docs directly.Optional vectorizeThis temporary error-ing property exists for migration convenience, and will be removed in a future version.
$vectorize field in the docs directly.
Overview
The options for a generic
insertManycommand performed on the Data API whenorderedistrue.Example
See
GenericInsertManyOptions