flask-sqlalchemy icon indicating copy to clipboard operation
flask-sqlalchemy copied to clipboard

Include `bind_key` in query recording

Open risicle opened this issue 2 months ago • 0 comments

It would be extremely useful if _QueryInfo also included the bind_key of the engine that issued the query.

A typical use case for query recording is in test assertions. When using multiple databases, it's pretty important to know which database your query went to.

risicle avatar Oct 21 '25 20:10 risicle