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

Comment on: "manual/tutorial/query-documents.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      How can i increment value of array element by 1 with the help of $inc key word
      example :

      "points" : [

      { "points" : 85.0, "bonus" : 20.0 }

      ,

      { "points" : 85.0, "bonus" : 10.0 }

      incremet bonus by 1..

      Attachments

        Activity

          People

            allison.moore@mongodb.com Allison Reinheimer Moore
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 5 weeks, 5 days ago