This repository was archived by the owner on Aug 19, 2025. It is now read-only.
Commit 0af2db8
Updated transactions documentation for low-level usage. (#209)
Using the lower-level API for Transactions requires that
`await transaction.start()` is called so `transaction._connection`
exists.
Also, low-level usage of transactions did not include the use of
`await` for `transaction.rollback()` and `.commit()`.
Co-authored-by: Vadim Markovtsev <vadim@athenian.co>1 parent 074c051 commit 0af2db8
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | | - | |
| 77 | + | |
77 | 78 | | |
78 | | - | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
0 commit comments