Class: Mongo::Operation::Command::OpMsg Private
- Defined in:
- lib/mongo/operation/command/op_msg.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
A MongoDB command operation sent as an op message.
Instance Attribute Summary
Attributes included from Executable
Instance Method Summary collapse
- #selector(connection) ⇒ Object private
Methods included from Timed
#apply_relevant_timeouts_to, #with_max_time
Methods included from Executable
Instance Method Details
#selector(connection) ⇒ 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.
29 30 31 32 33 |
# File 'lib/mongo/operation/command/op_msg.rb', line 29 def selector(connection) spec[:selector].dup.tap do |sel| sel[:comment] = spec[:comment] unless spec[:comment].nil? end end |