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

Comment on: "manual/reference/operator/query/gt.txt"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • manual
    • 1
    • Docs Sprint 18 - 4/24 (461)

    Description

      db.inventory.update( { "carrier.fee":

      { $gt: 2 }

      },
      { $set:

      { price: 9.99 }

      ,

      { multi: true }

      )

      I believe this code example is missing the end bracket of the $set operator expression.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Jess Mokrzecki Jess Mokrzecki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 8 weeks, 1 day ago