class Mongo::Operation::DropIndex::OpMsg
A MongoDB dropindex operation sent as an op message.
@api private
@since 2.5.2
Private Instance Methods
message(server)
click to toggle source
# File lib/mongo/operation/drop_index/op_msg.rb, line 35 def message(server) Protocol::Msg.new(flags, options, command(server)) end
selector(server)
click to toggle source
# File lib/mongo/operation/drop_index/op_msg.rb, line 31 def selector(server) { :dropIndexes => coll_name, :index => index_name } end