findAndModify option to return before and after

XMLWordPrintableJSON

    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I think findAndModify should enable to request all valid data, i.e. All the values from the fields when the document is found and the new _id if upserted.

      Currently I want to decide if I need the old data or the new _id. Because i need both I have to restort back to a separate find and update.

              Assignee:
              [DO NOT USE] Backlog - Query Execution
              Reporter:
              Marcelo Taube
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: