Method MongoCollection.findAndModify
Combines a modify and find
operation to a single atomic operation.
Throws Exception if a DB communication error occured.
Prototypes
Bson findAndModify(T, U, V)(T query, U update, V returnFieldSelector)( T query, U update, V returnFieldSelector ); Bson findAndModify(T, U)(T query, U update)( T query, U update );
See Also
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.