class Mongo::Operation::Indexes::Legacy
A MongoDB indexes operation sent as a legacy wire protocol message.
@api private
@since 2.5.2
Private Instance Methods
message(connection)
click to toggle source
# File lib/mongo/operation/indexes/legacy.rb, line 35 def message(connection) Protocol::Query.new(db_name, Index::COLLECTION, command(connection), options(connection)) end
result_class()
click to toggle source
# File lib/mongo/operation/indexes/legacy.rb, line 39 def result_class Operation::Result end
selector(connection)
click to toggle source
# File lib/mongo/operation/indexes/legacy.rb, line 31 def selector(connection) { ns: namespace } end