class Mongo::Operation::ListCollections::OpMsg

A MongoDB listcollections 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/list_collections/op_msg.rb, line 30
def selector(server)
  (spec[SELECTOR] || {}).merge(listCollections: 1)
end