Module: Mongo::Operation::OpMsgOrCommand Private
- Included in:
- , , , , , , , , , , , , , , ,
- Defined in:
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Shared behavior of executing the operation as an OpMsg when supported or as a Command otherwise.
Instance Method Summary collapse
- #execute(server) ⇒ Object private
Instance Method Details
#execute(server) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
25 26 27 28
# File 'lib/mongo/operation/shared/op_msg_or_command.rb', line 25 def execute(server) operation = final_operation(server) operation.execute(server) end