[SERVER-2820] Make findAndModify return equiv. of getLastError along side new/old doc Created: 23/Mar/11  Updated: 12/Jul/16  Resolved: 04/Apr/11

Status: Closed
Project: Core Server
Component/s: Write Ops
Affects Version/s: 1.8.0
Fix Version/s: 1.9.0

Type: Improvement Priority: Trivial - P5
Reporter: Scott Hernandez (Inactive) Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

If this information is returned it would make it complete when returning information about the operation, like update does after the getLastError call to include what the update part did.



 Comments   
Comment by auto [ 04/Apr/11 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Add "lastErrorObject" field to findAndModify output. Not exposed by shell wrapper SERVER-2820
Branch: master
https://github.com/mongodb/mongo/commit/ee4780794884ff0e5914078ed1673c2e46a03d01

Generated at Thu Feb 08 03:01:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.