Re: [sqlalchemy] sqlalchemy aggregation query

2011-06-11 Thread Michael Bayer
take a look at the over() construct: http://www.sqlalchemy.org/docs/core/expression_api.html?highlight=over#sqlalchemy.sql.expression.over On Jun 10, 2011, at 10:35 AM, Jojo wrote: hi guys, I'm new in sqlalchemy and I need some help. I want make a simple aggregation query for a game chart,

[sqlalchemy] maybe check for near-miss underscored parameters in declarative classes?

2011-06-11 Thread Eric Ongerth
I'm plus or minus on this, not sure, but thought it might be worth bringing up. I had the following typo in a declarative class def: class Foo(Base): __tablename__ = 'foo_table' __table_args_ = {'mysql_engine':'InnoDB', 'mysql_charset':'utf8'} ... so I had only one underscore character