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

Comment on the word "existing" in "manual/reference/operator/update.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      "an existing document" phrase appears multiple times, but I don't think it's accurate.

      $set will set a field in an upserted document just the same as existing document.

      $min and $max do not require the field to exist, and are also phrased backwards.

      $addToSet does not require the array to exist.

      Attachments

        Activity

          People

            Unassigned Unassigned
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 39 weeks, 3 days ago