Hello,

I want to add the alias for the columns is it possible in sqlalchemy.

Say i have select id as uid from xyz

so i do like this

t1 = Table("xyz", metadata)
id = Column("id")

Now i want to add alias to it
id = Column("id",alias_= "uid") :( didnt work

Can i add it later like i make default say id.default=1 ?

Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to