there’s a lot of places you could set that up. The dialect has an
initialize(Connection) hook called, you could do the listen on
connection.engine at that point.
Lycovian mfwil...@gmail.com wrote:
Given a custom dialect how can I associate a before_execute event listener
for all Engine
Given a custom dialect how can I associate a before_execute event listener
for all Engine and Connection objects that use the dialect? I've been able
to create listeners for this in a script but haven't been able to make this
listener permanent in my dialect.
--
You received this message