bulk Write
Executes a mix of inserts, updates, replaces, and deletes.
Note: Supports retryable writes on MongoDB server versions 3.6 or higher when the retryWrites setting is enabled. The eligibility for retryable write support for bulk operations is determined on the whole bulk write. If the requests contain any UpdateManyModels or DeleteManyModels then the bulk operation will not support retryable writes.
Parameters
the writes to execute
Executes a mix of inserts, updates, replaces, and deletes.
Note: Supports retryable writes on MongoDB server versions 3.6 or higher when the retryWrites setting is enabled. The eligibility for retryable write support for bulk operations is determined on the whole bulk write. If the requests contain any UpdateManyModels or DeleteManyModels then the bulk operation will not support retryable writes.
Parameters
the writes to execute
the options to apply to the bulk write operation
Executes a mix of inserts, updates, replaces, and deletes.
Note: Supports retryable writes on MongoDB server versions 3.6 or higher when the retryWrites setting is enabled. The eligibility for retryable write support for bulk operations is determined on the whole bulk write. If the requests contain any UpdateManyModels or DeleteManyModels then the bulk operation will not support retryable writes.
Since
3.6
Parameters
the client session with which to associate this operation
the writes to execute
Executes a mix of inserts, updates, replaces, and deletes.
Note: Supports retryable writes on MongoDB server versions 3.6 or higher when the retryWrites setting is enabled. The eligibility for retryable write support for bulk operations is determined on the whole bulk write. If the requests contain any UpdateManyModels or DeleteManyModels then the bulk operation will not support retryable writes.
Since
3.6
Parameters
the client session with which to associate this operation
the writes to execute
the options to apply to the bulk write operation