Executes all operations queued into the bulk
operation and returns the result as a BSON document.
On error, returns nil
and the error message. This method must be called only once.
Inserts document
as part of the bulk
operation.
Removes documents that match query
as part of the bulk
operation.
Removes a single document that matches query
as part of the bulk
operation.
Replaces a single document that matches query
with document
as part of the bulk
operation.
Updates documents that match query
with document
as part of the bulk
operation.
Updates a single document that match query
with document
as part of the bulk
operation.