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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -