Interface BulkWriteOrderedOptions

Options for insertMany when ordered is true.

Field

ordered - If true, the operations are executed in the order provided.

See

Collection.bulkWrite

interface BulkWriteOrderedOptions {
    maxTimeMS?: number;
    ordered: true;
}

Hierarchy (view full)

Properties

Properties

maxTimeMS?: number

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

ordered: true

If true, the operations are executed in the order provided. If an error occurs, the operation stops and the remaining operations are not executed.