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

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

    XMLWordPrintable

Details

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

    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)
            Jonathan Dahl Jonathan Dahl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 47 weeks, 2 days ago