you want to look at:
1. query.values(Class.foo, Class.bar)
as well as
2. Session.query(Class.foo, Class.bar).all()
#2 is in the ORM tutorial, and both are in the full Query API documentation.
On Jun 19, 2010, at 3:37 PM, Jonathan Vanasco wrote:
> i know this is usually done with the "select(
i know this is usually done with the "select()" mechanism.
i have a convenience interface sitting on top of some sqlalchemy
routines. i'd love to just use this same code block and have it return
only a certain column or two - and not rebuild the query itself.
--
You received this message because