- changed status to resolved
Using desc() and distinct() together throws exception
Issue #848
resolved
A short test program follows that throws an exception unexpectedly. According to zzzeek, "yeah thats just a bug", and "line 915 of query.py needs to look more like line 873".
from elixir import *
class Foo(Entity): has_field('foo', Unicode(30))
metadata.bind = 'sqlite:///' setup_all(True) session.flush() session.clear()
print Foo.query.distinct() print Foo.query.order_by(Foo.c.foo.desc()) print Foo.query.distinct().order_by(Foo.c.foo.desc())
Comments (2)
-
repo owner -
repo owner - removed milestone
Removing milestone: 0.4.xx (automated comment)
- Log in to comment
9d21a7f080292f69e3065d294ba9fad13a6d81fc