-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.4.2
-
Component/s: None
-
None
Currently, the find_and_modify() shell helper does not expose the lastErrorObject result as described in the docs (http://docs.mongodb.org/manual/reference/command/findAndModify/). This could be of use in some situations, for instance checking whether the find_and_modify() resulted in an upsert or an update.