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

Last $inc example should have 'true' for multi field

    XMLWordPrintableJSON

Details

    Description

      Unless I'm much mistaken, the last example on this page:

      http://docs.mongodb.org/manual/reference/operator/inc/#_S_inc

      Should have ,false,true parameters at the end of the update() to allow updates to multiple records? Isn't that the point that is being made?

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            annihilannic Scott Rochford
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 1 week ago