Thanks a lot, I found it https://firebirdsql.org/file/documentation/drivers_documentation/python/fdb/reference.html#eventconduit
On Monday, 17 September 2018 23:27:17 UTC+5, Mike Bayer wrote: > > On Mon, Sep 17, 2018 at 9:09 AM uralbash <svint...@gmail.com <javascript:>> > wrote: > > > > Hello, I need to track events that come from the FireBird database ( > https://www.firebirdsql.org/file/documentation/reference_manuals/driver_manuals/odbc/html/fbodbc205-events.html). > > Is it possible to do this with SQLAlchemy? > > This would be something you'd need to work with the DBAPI driver > directly in order to use, SQLAlchemy has no direct knowledge of such > an API. > > You may need to get at the raw DBAPI connection if the DBAPI in fact > supports this, so if you can get that working, you can either use > connection pool connect() event to set your listeners on all > connections: > > > http://docs.sqlalchemy.org/en/latest/core/events.html#sqlalchemy.events.PoolEvents.connect > > > Or if you want to work with a specific connection/cursor you'd use the > guidelines at: > > > http://docs.sqlalchemy.org/en/latest/core/connections.html#working-with-raw-dbapi-connections > > > > > > > -- > > SQLAlchemy - > > The Python SQL Toolkit and Object Relational Mapper > > > > http://www.sqlalchemy.org/ > > > > To post example code, please provide an MCVE: Minimal, Complete, and > Verifiable Example. See http://stackoverflow.com/help/mcve for a full > description. > > --- > > You received this message because you are subscribed to the Google > Groups "sqlalchemy" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sqlalchemy+...@googlegroups.com <javascript:>. > > To post to this group, send email to sqlal...@googlegroups.com > <javascript:>. > > Visit this group at https://groups.google.com/group/sqlalchemy. > > For more options, visit https://groups.google.com/d/optout. > -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.