Restart the transaction #4226
Unanswered
feniljariwala82
asked this question in
Help
Replies: 0 comments
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.
-
I have a table named Products that includes a "quantity" number field. Suppose, two transactions are trying to update this row simultaneously, the deadlock will happen and one of them will roll back. Here I want to know, if is there any way in Adonisjs where we can restart the transaction when Deadlock happens. Note that, if Deadlock is detected, then only restart the transaction.
Beta Was this translation helpful? Give feedback.
All reactions