Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10376

Comment on: "manual/reference/method/db.collection.findOneAndUpdate.txt"

    XMLWordPrintableJSON

Details

    Description

      returnNewDocument option did nothing with upsert.
      In the source code documentation there is option returnOriginal that, when set to false, returns new document.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago