class Mongo::Operation::Commands::Command
A MongoDB command operation.
@example Create the command operation.
Command.new({ :selector => { :isMaster => 1 } })
Initialization:
param [ Hash ] spec The specifications for the command. option spec :selector [ Hash ] The command selector. option spec :db_name [ String ] The name of the database on which the command should be executed. option spec :options [ Hash ] Options for the command.
@since 2.0.0
Private Instance Methods
query_coll()
click to toggle source
# File lib/mongo/operation/commands/command.rb, line 42 def query_coll Database::COMMAND end