Hi. I am sort of a newbie on SQLAlchemy. Is there a way to do a query
with the ORM, and doing an "as" on the select.

For example:

class Example(Base):
    name = Column(Unicode(512) ....)


query = session.query(Example.name AS "foo")
query.all()

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