the target collection name
the filter for this command
the reactivemongo.core.commands.Modify operation to do
states if a new document should be inserted if no match
the sort document
retrieve only a subset of the returned document
Deserializer for this command's result.
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 target collection name
retrieve only a subset of the returned document
Makes the BSONDocument
for documents that will be send as body of this command's query.
Makes the BSONDocument
for documents that will be send as body of this command's query.
the reactivemongo.core.commands.Modify operation to do
the filter for this command
States if this command can be run on secondaries.
States if this command can be run on secondaries.
the sort document
states if a new document should be inserted if no match
FindAndModify command.
This command allows to perform a modify operation (update/remove) matching a query, without the extra requests. It returns the old document by default.
the target collection name
the filter for this command
the reactivemongo.core.commands.Modify operation to do
states if a new document should be inserted if no match
the sort document
retrieve only a subset of the returned document
(Since version 0.11.0) consider using reactivemongo.api.commands.FindAndModifyCommand instead