Exception will be thrown if an error occurs in the
communication with the database server.
Combines a modify and find operation to a single atomic operation with generic options support.
query | MongoDB query expression to identify the matched document |
update | Update expression for the matched document |
options | Generic BSON object that contains additional options fields, such as "new": true |
Exception will be thrown if an error occurs in the
communication with the database server.