class Mongo::Operation::CollectionsInfo::Command
A MongoDB collectionInfo operation sent as a command message.
@api private
Private Instance Methods
get_result(connection, context, options = {})
click to toggle source
# File lib/mongo/operation/collections_info/command.rb, line 33 def get_result(connection, context, options = {}) # This is a Mongo::Operation::CollectionsInfo::Result Result.new(*dispatch_message(connection, context), db_name) end
message(connection)
click to toggle source
# File lib/mongo/operation/collections_info/command.rb, line 42 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 38 def selector(connection) {} end