Hi all,
can anybody explain why this:

session.query(Answer).all() -> [<Answer('...'), ... ]

works, but this:

session.query(func.sum(Answer.close_answer1)).all()

throws the following error?

*** AttributeError: 'MySQLCompiler' object has no attribute
'mapped_table'

The class 'Answer' is mapped correctly since I can search/insert/
update any records.

Thanks in advance

PS: sqlalchemy-0.5.8

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@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