Make sure that the previous operation has been committed into the journal. Journaling must be enabled on the servers.
Specify the level of replication for a write operation. Should be a BSONString or BSONInteger. See the MongoDB documentation.
Write propagation timeout (in milliseconds). See the MongoDB documentation.
Make sure that the previous (write) operation has been written on the disk.
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.
Make sure that the previous (write) operation has been written on the disk.
Make sure that the previous operation has been committed into the journal.
Make sure that the previous operation has been committed into the journal. Journaling must be enabled on the servers.
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.
States if this command can be run on secondaries.
States if this command can be run on secondaries.
Specify the level of replication for a write operation.
Specify the level of replication for a write operation. Should be a BSONString or BSONInteger. See the MongoDB documentation.
Write propagation timeout (in milliseconds).
Write propagation timeout (in milliseconds). See the MongoDB documentation.
GetLastError Command.
This command is used to check the status of the immediately previous operation. It is commonly used to make sure that a write request has been effectively done (so it is also known as writeConcern). This command will return only when the previous operation is complete and matches its parameters (for example, with waitForReplicatedOn set to Some(2), this command will return only when at least two replicas have also run the previous operation).
Make sure that the previous operation has been committed into the journal. Journaling must be enabled on the servers.
Specify the level of replication for a write operation. Should be a BSONString or BSONInteger. See the MongoDB documentation.
Write propagation timeout (in milliseconds). See the MongoDB documentation.
Make sure that the previous (write) operation has been written on the disk.
(Since version 0.11.0) consider using reactivemongo.api.commands.GetLastError instead