javascript - Parse query find and update multiple row -
i using parse in javascript application. need update multiple rows of collection. simple query getting array of rows. can update rows running save method within foreach loop?
my question "is there single query can update multiple rows?" mongodb use update multi true.
please help.
get objects querying, , update objects changes want make.
then use saveall method
// save newly created objects parse.object.saveall(results, { //results array obtained after querying , updating required fields success: function(objs) { // objects have been saved... }, error: function(error) { // error occurred... } });
Comments
Post a Comment