class Mongo::Operation::Count::OpMsg

A MongoDB count 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/count/op_msg.rb, line 31
def selector(connection)
  spec[:selector].merge(
    collation: spec[:collation],
    comment: spec[:comment],
  ).compact
end