transaction question #3592
Unanswered
MateSoftware2023
asked this question in
Q&A
Replies: 1 comment
-
what are you trying to do? |
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
-
Whether the transaction is automatically rolled back if it fails to commit. When I try to display a rollback, it prompts me that I have no ownership.
if let Err(err) = tx.commit().await {
if let Err(rollback_err) = tx.rollback().await {
...
} else {
...
}
};
Beta Was this translation helpful? Give feedback.
All reactions