Details
-
Task
-
Resolution: Done
-
Minor - P4
-
None
-
None
Description
See: http://docs.mongodb.org/manual/reference/command/findAndModify/
The only reference to the return value is:
If you specify { new: false } and the upsert operation performs an insert operation, then the operation will return a document that resembles the following:
{ 'ok': 1.0, 'value': null }