Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19278

How to update multiple array elements at once.

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None

      "helparray" : [

      { "helpid" : 1, "state" : true, "_id" : ObjectId("5595213af20e4d481e31501e") }

      ,

      { "helpid" : 2, "state" : true, "_id" : ObjectId("55952141f20e4d481e31501f") }

      ,

      { "helpid" : 3, "state" : true, "_id" : ObjectId("55952146f20e4d481e315020") }

      ]

      This is my helparray.I want to update all state to false at once.

            Assignee:
            Unassigned Unassigned
            Reporter:
            saurav2501 saurav ranjan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: