| Module | Mongo::Operation::Write |
| In: |
lib/mongo/operation/shared/write.rb
|
Shared behavior of operations that write (update, insert, delete).
@since 2.5.2
Execute the bulk write operation.
@example
operation.bulk_execute(server)
@param [ Mongo::Server ] server The server to send the operation to.
@return [ Mongo::Operation::Delete::BulkResult,
Mongo::Operation::Insert::BulkResult,
Mongo::Operation::Update::BulkResult ] The bulk result.
@since 2.5.2
Execute the operation.
@example
operation.execute(server)
@param [ Mongo::Server ] server The server to send the operation to.
@return [ Mongo::Operation::Result ] The operation result.
@since 2.5.2