class Mongo::Operation::Command::OpMsg
A MongoDB command operation sent as an op message.
@api private
@since 2.5.2
Public Instance Methods
selector(connection)
click to toggle source
# File lib/mongo/operation/command/op_msg.rb, line 28 def selector(connection) spec[:selector].dup.tap do |sel| sel[:comment] = spec[:comment] unless spec[:comment].nil? end end