You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to trigger the sqlALchamy listener event, event.lesson_for, before the execution of gino Query, but it does not seem to be executed.
What I Did
@event.listens_for(Query, "before_compile", retval=True)defbefore_compile_query(query):
"""A query compilation rule that will add limiting criteria for every subclass of HasPrivate"""print("query===========================")
The text was updated successfully, but these errors were encountered:
This will be supported in GINO 1.4/2.0 with SQLAlchemy 1.4/2.0. As this is intended to be solved by future versions, we currently don't have a plan to add this in GINO < 1.4. But please feel free to open PRs to add it if you'll be working with SQLAlchemy 1.3 for some time.
Description
I wanted to trigger the sqlALchamy listener event, event.lesson_for, before the execution of gino Query, but it does not seem to be executed.
What I Did
The text was updated successfully, but these errors were encountered: