Replies: 1 comment 1 reply
-
I think you can listen for the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a project using Gino, where a DB transaction is started on router layer (or similar) and feature layer code is called that does DB updates without knowing about the transaction. We now have a need to run code from the feature layer after the changes made are committed to the DB.
SQLAlchemy ORM has after_commit and similar hooks which can be used for this purpose, but I was unable to find any commit hooks in Gino. Does Gino have this kind of support? How would you suggest handling it?
Beta Was this translation helpful? Give feedback.
All reactions