ordered - If true
, the docs are inserted sequentially; else, they're arbitrary inserted in parallel.
concurrency - The maximum number of concurrent requests to make at once.
chunkSize - The number of documents to upload per request. Defaults to 50.
timeout - The timeout override for this method
Collection.insertMany
Options for an
insertMany
command on a collection.The parameters depend on the
ordered
option. Ifordered
istrue
, theparallel
option is not allowed.