Bulk Operation Methods
Note
For details on a specific method, including syntax and examples, click on the link to the method's reference page.
Tip
MongoDB also provides the db.collection.bulkWrite()
method for
performing bulk write operations.
Name | Description |
---|---|
Initializes a | |
Initializes a | |
Bulk operations builder. | |
Executes a list of operations in bulk. | |
Specifies the query condition for an update or a remove operation. | |
Specifies the filters that determine which elements of an array to update for an | |
Specifies the collation for the query condition. | |
Adds a multiple document delete operation to a list of operations. | |
Adds a single document delete operation to a list of operations. | |
Specifies the index to use for the update/replace operation. | |
An alias for | |
An alias for | |
Adds a single document replacement operation to a list of operations. | |
Adds a single document update operation to a list of operations. | |
Adds a | |
Specifies | |
Returns an array of write operations executed in the | |
Adds an insert operation to a list of operations. | |
Returns a JSON document that contains the number of operations and batches in the | |
Returns the |