youd have to do a select() with use_labels = True, or a select() where you name out each column with a label() function, i.e.: select ([a.c.col1.label('a_col1') ...]) On Jul 5, 2006, at 3:16 PM, Jonathan Ellis wrote: If you're creating a Join on table A and table B, each of which has a PK "id" column, is there a way to disambiguate these in the join or mapper? I.e., I want to be able to determine the value of both a.id and b.id, but not join on that column. |
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users