SQL expressions are intercepted by the SQL Execution events described at
https://docs.sqlalchemy.org/en/13/core/events.html#sql-execution-and-connection-events
and the main ones are before_execute() and before_cursor_execute(), but it
depends on what you want to do.if you want to change how
Is there a way to use events with the expression api? I see how they're
used with ORM and Core but not expressions.
Thanks,
Brian
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails
Is there a way to use events with the expression api?
I see how they're used with ORM and Core, but not expressions.
Thanks,
Brian
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails
Hi Mike,
I adapted our setup to the new cookbook recipe and it basically fixed
both problems! I don't need to maintain my
patches anymore (thanks to setting
`connection.dialect.default_schema_name`, this did the trick!) and the
detected stray changes are also gone. I did some investigation