the name of the target collection
the document selector
select only the matching fields
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.
name of the target database.
the name of the target collection
select only the matching fields
Makes the BSONDocument
for documents that will be send as body of this command's query.
the document selector
States if this command can be run on secondaries.
States if this command can be run on secondaries.
The Count command.
Returns a document containing the number of documents matching the query.
the name of the target collection
the document selector
select only the matching fields
(Since version 0.11.0) consider using reactivemongo.api.commands.Count instead