well as the email noted, it referred to issue
https://github.com/sqlalchemy/sqlalchemy/issues/3225 , which was an ambitious
proposal for a richly featured inspection API on the Query object. which
would mean you'd still need to write your own logic that pokes around in the
query, decides
I keep running into this issue where I have a complex set of filter
parameters, some of which need a join, and it would be nice to have an
ergonomic way to say: join this table, but not if there already is a join.
I found this old post on the subject: