[sqlalchemy] selecting an amibiguous column, but not caring from which table

2011-09-19 Thread Moshe C.
Hi, I have the following situation: There are two tables, A and B , both of which have an id column. In a certain part of the code I have an ORM query object. That query object is returned by some function and I have no apriori knowledge of its structure. I am assured, though that there will be

Re: [sqlalchemy] selecting an amibiguous column, but not caring from which table

2011-09-19 Thread Michael Bayer
On Sep 19, 2011, at 10:37 AM, Moshe C. wrote: Hi, I have the following situation: There are two tables, A and B , both of which have an id column. In a certain part of the code I have an ORM query object. That query object is returned by some function and I have no apriori knowledge of