I'm trying to use this example from your multiUpdateObject reference
var dbApiKey = "57928860e4b00ef864f3dc24"
var result = Collection.multiUpdateObject(dbApiKey, "Student", '{isTransferStudent: true}', {"major": {'name':'undecided'}
});
I have two columns in a collection caller EntriesArray
User - String
Selection - Array
in two rows I have the following data
User - Fred
Selection - [{"Player":"WATSON","Points":"2"},{"Player":"JOHNSON","Points":"6"}]
User - Frank
Selection - [{"Player":"GEOFF","Points":"5"},{"Player":"JOHNSON","Points":"6"}]
Following your example I am trying variations of this server code with no joy
var dbApiKey = "*********************"
var result = Collection.multiUpdateObject(dbApiKey, "EntriesArray", '{Selection: {Player:"JOHNSON"}', {"Selection": {'Points':'8'}
});
in which I am trying to change the "Points" value of every "Player" called JOHNSON to 8.
I have also tried using your code exactly as specified targeting all Points, with no joy.
Am I missing something?
No error message is appearing, and no updates are occurring.