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

findAndModify option to return before and after

    XMLWordPrintableJSON

Details

    • Query Execution

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            marcelo Marcelo Taube
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: