Type alias CollectionInsertManyOptions

CollectionInsertManyOptions: GenericInsertManyOptions

Options for an insertMany command on a collection.

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 50.

Field

timeout - The timeout override for this method

See

Collection.insertMany