[sqlalchemy] Explicit main table

2011-07-07 Thread Bryan
I'm having trouble telling an orm query which table is the main table when I only use a single column from the main table and it is wrapped up in an SQL function. It's almost like SqlAlchemy can't see that I am using a column from that table because it is inside of a function:: # -- Schema

Re: [sqlalchemy] Explicit main table

2011-07-07 Thread Michael Bayer
On Jul 7, 2011, at 2:16 PM, Bryan wrote: I'm having trouble telling an orm query which table is the main table when I only use a single column from the main table and it is wrapped up in an SQL function. It's almost like SqlAlchemy can't see that I am using a column from that table