-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add ControlledTransaction
.
#962
add ControlledTransaction
.
#962
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
483c6d3
to
20220be
Compare
I was wondering, since you already have a reference to the transaction instead of trxAfterFoo.rollbackToSavepoint('foo') It should technically be enough with The reason I ask is because I'd like something simple like |
4ea7f64
to
a43c328
Compare
Co-authored-by: Igal Klebanov <[email protected]>
Co-authored-by: Igal Klebanov <[email protected]>
Co-authored-by: Igal Klebanov <[email protected]>
Co-authored-by: Igal Klebanov <[email protected]>
Co-authored-by: Igal Klebanov <[email protected]>
Co-authored-by: Igal Klebanov <[email protected]>
Co-authored-by: Igal Klebanov <[email protected]>
Co-authored-by: Igal Klebanov <[email protected]>
Co-authored-by: Igal Klebanov <[email protected]>
closes #257.
This PR adds some optional savepoint-related methods to drivers - need to make sure we don't introduce a breaking change here!
A new
ControlledTransaction
that allows manualcommit
,rollback
and savepoint-related commands.Some design goals (that hopefully will be met once this is done) with
ControlledTransaction
:- allow to release the connection on commit/rollback on demand via an option.