Is the api Parse.Object.saveAll atomic?


I just would like to save a list of the same class objects, seems I should use api Parse.Object.saveAll? is it faster than save each object one by one? and is it atomic? Thanks a lot.

It’s not atomic. If you need all or none behaviour I think you can do something custom in cloud code with the database driver. But you need to make sure your objects are parse compatible since your objects will not be checked by parse server. Otherwise you may face some unwanted results.

1 Like

For the JS SDK, saveAll can be atomic once the PR below is finished and merged: