]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- changed "BooleanExpression" to subclass from "BinaryExpression", so that boolean
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 19 Jan 2007 20:32:13 +0000 (20:32 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 19 Jan 2007 20:32:13 +0000 (20:32 +0000)
commit8a48ee2c8c0a28c059e8d60ef1da4c8b2ddf0738
tree5050844ba68ed0a94d5ada36f87160aad7029920
parentddecef10715d9cdd05c568f81ade052c12330488
- changed "BooleanExpression" to subclass from "BinaryExpression", so that boolean
expressions can also follow column-clause behaviors (i.e. label(), etc).
- query.select() had to become more picky about what it considers to be a full "selectable"
and what it considers to be a fragment that represents a WHERE criterion - looks for the presence
of a FromClause now (which is still pretty liberal, since i originally intended the check to be
for select() only).  the previous exception-catch method also added a little stack tracing
overhead anyway.
CHANGES
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/sql.py