Type alias InsertManyOptions

Options for insertMany.

The parameters depend on the ordered option. If ordered is true, the parallel option is not allowed.

Field

ordered - If true, the docs are inserted sequentially; else, they're arbitrary inserted in parallel.

Field

concurrency - The maximum number of concurrent requests to make at once.

Field

chunkSize - The number of documents to upload per request. Defaults to 20.

Field

maxTimeMS - The maximum time to wait for a response from the server, in milliseconds.

See

Collection.insertMany