Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7968

findAndModify option to return before and after

    • Query Execution

      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:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            marcelo Marcelo Taube
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: