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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • Affects Version/s: None
    • Component/s: manual
    • Environment:

      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.

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

              Created:
              Updated:
              Resolved:
              9 years, 2 weeks, 1 day ago