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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial - P5
    • Resolution: Done
    • None
    • v1.3.13
    • manual
    • 0

    Description

      The documentation says:

      "The following update() operation uses the $inc operator to decrease the quantity field by -2 and increase the "metrics.orders" field by 1:"

      To be precise, the $inc operator decreases the quantity field by positive 2, rather than negative 2.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (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, 48 weeks, 1 day ago