[sqlalchemy] Re: Aliasing table and column names

2007-10-16 Thread Hermann Himmelbauer
Am Montag, 15. Oktober 2007 20:14 schrieb Michael Bayer: HI Hermann - table/column naming looks like this: mytable = Table('sometablename', metadata, Column('colname', Integer, key='someothername') ) access the column: mytable.c.someothername so above, we access the real

[sqlalchemy] Re: Aliasing table and column names

2007-10-15 Thread Michael Bayer
HI Hermann - table/column naming looks like this: mytable = Table('sometablename', metadata, Column('colname', Integer, key='someothername') ) access the column: mytable.c.someothername so above, we access the real database table sometablename.colname using an expression such as