Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-492

Add accessibility of lastErrorObject to find_and_modify()

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5
    • 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.

            Assignee:
            sam.helman@10gen.com sam.helman@10gen.com
            Reporter:
            sam.helman@10gen.com sam.helman@10gen.com
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: