Replies: 1 comment
-
|
Yes it rollbacks automatically when an error is thrown inside the transaction. In my experience, tx.rollback() is useful if you want to rollback cleanly in the case of invalid business rules inside the transaction. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
No description needed, the title says it all.
Beta Was this translation helpful? Give feedback.
All reactions