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

findAndModify output for upserted field has wrong explanation

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      the upserted field contains the _id of the upserted document. It can be string/object or any valid BSON type, not just ObjectId.

      Attachments

        Activity

          People

            allison.moore@mongodb.com Allison Reinheimer Moore
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 24 weeks ago