Is no one feeling the ORM love of SQLALchemy today? The presented answers correctly describe the lower level interface that SQLAlchemy provides. Just for completeness this is the more-likely (for me) real-world situation where you have a session instance and a User class that is orm mapped to the users table.
for user in session.query(User).filter_by(name='jack'):
print user
# ...
If you're using the ORM, you can build a query using the normal ORM constructs and then execute it directly to get raw column values:
Is no one feeling the ORM love of SQLALchemy today? The presented answers correctly describe the lower level interface that SQLAlchemy provides. Just for completeness this is the more-likely (for me) real-world situation where you have a session instance and a User class that is orm mapped to the users table.
And this does an explicit select on all columns.