[Sqlalchemy-tickets] Issue #3223: 'order_by' in __mapper_args__ breaks queries that use union(). (z
Brought to you by:
zzzeek
|
From: Christophe B. <iss...@bi...> - 2014-10-14 17:57:02
|
New issue 3223: 'order_by' in __mapper_args__ breaks queries that use union(). https://bitbucket.org/zzzeek/sqlalchemy/issue/3223/order_by-in-__mapper_args__-breaks-queries Christophe Biocca: I attached a reproduction. On Postgres it manifests as a different error, but the causes are the same. We're working around it by not using order_by in mapper args, and instead setting it manually on the relevant queries. |