Parse.com Transaction Management

Does parse.com support transactions? I am trying to insert new rows into two different tables. If an error occurs while inserting into one of the tables, the entire transaction must be rolled back.

+3


source to share


1 answer


No, it is not.

You can handle the situation in Cloud Code and if one of the save operations fails, delete the already saved object.



For cloud code code see https://www.parse.com/docs/cloud_code_guide#functions

+4


source







All Articles