How to update multiple array elements at once.

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            saurav ranjan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: