I want to do the select statement in sqlachemy like
select user.id from user where user.name = 'test'
I loaded user table by:
User = Table('user',metadata,autoload=True)
Result = session.query(User.c.id).filter_by(name='test').first()
I got an error
"NoInspectionAvailable: No inspection system is available for object of type "
Can you suggest how to carry out that SQL in sqlachemy ?