Re: [sqlalchemy] Associating select columns to original tables

2016-07-27 Thread Mike Bayer
On 07/27/2016 05:29 PM, T Johnson wrote: I am generating select queries that include alias tables, literal columns, renamed columns via label, multiple joins etc. The queries can be somewhat complex and as a debugging feature, I'd like be able to know which columns came from which tables...b

[sqlalchemy] Associating select columns to original tables

2016-07-27 Thread T Johnson
Using base_columns() gets me pretty close but it doesnt indicate when a column has multiple base columns due to an equality join clause. It only returns a single base column for each column. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To uns

[sqlalchemy] Associating select columns to original tables

2016-07-27 Thread T Johnson
I am generating select queries that include alias tables, literal columns, renamed columns via label, multiple joins etc. The queries can be somewhat complex and as a debugging feature, I'd like be able to know which columns came from which tables...but I don't want to store this information s