[Sqlalchemy-tickets] Issue #3013: new boolean feature not working in ORM (zzzeek/sqlalchemy)
Brought to you by:
zzzeek
|
From: Mike B. <iss...@bi...> - 2014-04-01 16:02:07
|
New issue 3013: new boolean feature not working in ORM https://bitbucket.org/zzzeek/sqlalchemy/issue/3013/new-boolean-feature-not-working-in-orm Mike Bayer: ``` #!python (Pdb) print s.query(TestModel).statement.where(column('x', Boolean())) SELECT testmodel.id, testmodel.flags FROM testmodel WHERE x = 1 (Pdb) print s.query(TestModel).filter(column('x', Boolean())).statement SELECT testmodel.id, testmodel.flags FROM testmodel WHERE x (Pdb) ``` |