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 database table "sometablename.colname"
> using an expression such as "mytable.c.someothername", so both names
> are modified in the application against what they are in the database.

Perfect, thanks!

Best Regards,
Hermann

-- 
[EMAIL PROTECTED]
GPG key ID: 299893C7 (on keyservers)
FP: 0124 2584 8809 EF2A DBF9  4902 64B4 D16B 2998 93C7

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to