class Mongo::Operation::DropIndex::OpMsg

A MongoDB dropindex operation sent as an op message.

@api private

@since 2.5.2

Private Instance Methods

selector(connection) click to toggle source
# File lib/mongo/operation/drop_index/op_msg.rb, line 32
def selector(connection)
  {
    :dropIndexes => coll_name,
    :index => index_name,
    :comment => spec[:comment],
  }.compact
end