True if the last operation was successful
The err field, if any
The error code, if any
The message (often regarding an error) if any
The whole map resulting of the deserialization of the response with the DefaultBSONHandlers.
The number of documents affected by last command, 0 if none
When true, the last update operation resulted in change of existing documents
The error code, if any
The error code, if any
Returns a Stream
for all the elements of the originalDocument if present, otherwise an empty Stream
.
The err field, if any
The message (often regarding an error) if any
Returns the reactivemongo.bson.BSONValue associated with the given key
of the originalDocument.
Returns the reactivemongo.bson.BSONValue associated with the given key
of the originalDocument.
If the key is not found or the matching value cannot be deserialized, returns None
.
Returns the reactivemongo.bson.BSONValue associated with the given key
of the originalDocument,
and converts it with the given implicit BSONReader.
Returns the reactivemongo.bson.BSONValue associated with the given key
of the originalDocument,
and converts it with the given implicit BSONReader.
If there is no matching value, or the value could not be deserialized or converted, returns a None
.
Returns the reactivemongo.bson.BSONValue associated with the given key
of the originalDocument,
and converts it with the given implicit BSONReader.
Returns the reactivemongo.bson.BSONValue associated with the given key
of the originalDocument,
and converts it with the given implicit BSONReader.
If there is no matching value, or the value could not be deserialized or converted, returns a Failure
.
The Failure
holds a DocumentKeyNotFound if the key could not be found.
Returns the reactivemongo.bson.BSONValue associated with the given key
of the originalDocument,
and converts it with the given implicit BSONReader.
Returns the reactivemongo.bson.BSONValue associated with the given key
of the originalDocument,
and converts it with the given implicit BSONReader.
If there is no matching value, returns a Success
holding None
.
If the value could not be deserialized or converted, returns a Failure
.
Returns the reactivemongo.bson.BSONValue associated with the given key
of the originalDocument.
Returns the reactivemongo.bson.BSONValue associated with the given key
of the originalDocument.
If the key is not found or the matching value cannot be deserialized, returns a Failure
.
The Failure
holds a DocumentKeyNotFound if the key could not be found.
Returns the reactivemongo.bson.BSONValue associated with the given key
of the originalDocument.
Returns the reactivemongo.bson.BSONValue associated with the given key
of the originalDocument.
If the key could not be found, the resulting option will be None
.
If the matching value could not be deserialized, returns a Failure
.
States if the last operation ended up with an error
Tells if this error is due to a write on a secondary node.
Tells if this error is due to a write on a secondary node.
Tells if this error is related to authentication issues.
Tells if this error is related to authentication issues.
explanation message
explanation message
Alias for updated to also support the short MongoDB syntax
True if the last operation was successful
The whole map resulting of the deserialization of the response with the DefaultBSONHandlers.
The whole map resulting of the deserialization of the response with the DefaultBSONHandlers.
Returns a Stream
corresponding to the stream of the originalDocument if present, otherwise an empty Stream
.
The number of documents affected by last command, 0 if none
When true, the last update operation resulted in change of existing documents
(Since version 2.11.0) Use Throwable#getStackTrace
Result of the GetLastError command.
True if the last operation was successful
The err field, if any
The error code, if any
The message (often regarding an error) if any
The whole map resulting of the deserialization of the response with the DefaultBSONHandlers.
The number of documents affected by last command, 0 if none
When true, the last update operation resulted in change of existing documents
(Since version 0.11.0) consider using reactivemongo.api.commands.WriteResult instead