Deserializer for this command's result.
Produces a reactivemongo.core.commands.MakableCommand instance of this command.
Produces a reactivemongo.core.commands.MakableCommand instance of this command.
As and admin command targets only the admin database, @param db will be ignored.
As and admin command targets only the admin database, @param db will be ignored.
Produces a reactivemongo.core.commands.MakableCommand instance of this command.
name of the target database.
Makes the BSONDocument
for documents that will be send as body of this command's query.
States if this command can be run on secondaries.
States if this command can be run on secondaries.
IsMaster Command.
States if the target server is a primary. This command also gives some useful information, like the other nodes in the replica set.
(Since version 0.11.0) consider using reactivemongo.api.commands.IsMasterCommand instead