How to use commit and rollback in Oxwall. i have try to upload 10 images if any error in upload in image then need to rollback transaction.
Thanks
How to use commit and rollback in Oxwall. i have try to upload 10 images if any error in upload in image then need to rollback transaction.
Thanks
I'm looking exactly for this. I think Parthiv (and it's whar I need) talks about DB transactions. How are they handle? How can I manage the start / commit / rollback?
The point is, I have an operation that should insert data in more than 1 table (in this case 2 or 3 tables). If an error happens trying to insert into the 2nd table, the insert in the first table should be reverted (a typical DB rollback operation).
Thanks in advance!