Does parse.com support transactions ? I am trying to insert new rows into two different tables. If an error occurs during an insert into one of the table then the whole transaction needs to be rolled back.
No, it doesn't.
You could handle the situation in Cloud Code and if one of save operations fail then perform delete of already saved object.
For cloud code doc see: https://www.parse.com/docs/cloud_code_guide#functions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With