class Mongo::Operation::Create::OpMsg

A MongoDB create collection 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/create/op_msg.rb, line 32
def selector(connection)
  # Collation is always supported on 3.6+ servers that would use OP_MSG.
  spec[:selector].merge(collation: spec[:collation]).compact
end