class Mongo::Operation::CreateIndex::OpMsg
A MongoDB createindex operation sent as an op message.
@api private
@since 2.5.2
Private Instance Methods
Source
# File lib/mongo/operation/create_index/op_msg.rb, line 29 def selector(connection) selector = { :createIndexes => coll_name, :indexes => indexes } selector[:commitQuorum] = commit_quorum if commit_quorum selector end