OpMsg — Documentation by YARD 0.9.37 (original) (raw)
Class: Mongo::Operation::Command::OpMsgPrivate
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 Summarycollapse
- #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 | | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |