class Mongo::Operation::CollectionsInfo::Command

A MongoDB collectionInfo operation sent as a command message.

@api private

Private Instance Methods

get_result(connection, client, options = {}) click to toggle source
# File lib/mongo/operation/collections_info/command.rb, line 30
def get_result(connection, client, options = {})
  # This is a Mongo::Operation::CollectionsInfo::Result
  Result.new(*dispatch_message(connection, client), db_name)
end
message(connection) click to toggle source
# File lib/mongo/operation/collections_info/command.rb, line 39
def message(connection)
  Protocol::Query.new(db_name, Database::NAMESPACES, command(connection), options(connection))
end
selector(connection) click to toggle source
# File lib/mongo/operation/collections_info/command.rb, line 35
def selector(connection)
  {}
end