class Mongo::Operation::CreateIndex::OpMsg

A MongoDB createindex operation sent as an op message.

@api private

@since 2.5.2

Private Instance Methods

selector(server) click to toggle source
# File lib/mongo/operation/create_index/op_msg.rb, line 29
def selector(server)
  { :createIndexes => coll_name, :indexes => indexes }
end