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

findAndModify option to return before and after

    XMLWordPrintable

    Details

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: