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

Comment on: "manual/reference/operator/update/min.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • manual

    Description

      Error at:
      The next operation has no effect since the current value of the field lowScore, i.e 150, is less than 200:

      db.scores.update( { _id: 1 }, { $min: { lowScore: 250 } } )
      

      that 200 should be 250 (or vice versa)

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            ext-jussi.jaaskelainen@polar.com Jussi Jääskeläinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 30 weeks, 6 days ago