-
Notifications
You must be signed in to change notification settings - Fork 12
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
Create wrap-transaction save middleware #6
Labels
help wanted
Extra attention is needed
Comments
Turns out that marking constraints as |
Surprising. Not sure how some transactions could even work that way...you'd have to loosen your desired constraints in any case where you needed to create a "loop" of data. |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
would allow multiple SQL databases to safely work together, and if possible would defer FK checks until the end of the transaction (not sure that is std SQL).
Remember that the
env
containsconnection-pools
, which is a map from db name to db. Should be able to usewith-transaction
and replace all of those in that map in env to pass on to next handler.The text was updated successfully, but these errors were encountered: