class Mongo::Operation::Explain::Legacy
A MongoDB explain command operation sent as a legacy wire protocol message.
@api private
@since 2.0.0
Private Instance Methods
message(connection)
click to toggle source
# File lib/mongo/operation/explain/legacy.rb, line 36 def message(connection) Protocol::Query.new(db_name, coll_name, command(connection), options(connection)) end
selector(connection)
click to toggle source
Calls superclass method
Mongo::Operation::Specifiable#selector
# File lib/mongo/operation/explain/legacy.rb, line 32 def selector(connection) super.merge(spec[:explain]) end