You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the transaction tx2 errors, can I assume that the transaction before the SAVEPOINT would be committed? i.e the inserts and updates for someTable and anotherTable would be in the db. Currently, I see an error unless tx2 is wrapped in a try...catch. See the example for savepoints in the docs
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a transaction I have written like this
If the transaction
tx2
errors, can I assume that the transaction before theSAVEPOINT
would be committed? i.e the inserts and updates forsomeTable
andanotherTable
would be in the db. Currently, I see an error unlesstx2
is wrapped in atry...catch
. See the example for savepoints in the docsBeta Was this translation helpful? Give feedback.
All reactions