]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- _Label class overrides compare_self to return its ultimate object.
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 3 May 2007 22:31:52 +0000 (22:31 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 3 May 2007 22:31:52 +0000 (22:31 +0000)
commit752ef2802c57d32fe832b76b9503f42f0300da05
tree4399442fe946dbaec6386c5f9b5a997a7e63bd8b
parent76a1d1276c48cb7f3eb4186d8872b1d7915d360a
- _Label class overrides compare_self to return its ultimate object.
meaning, if you say someexpr.label('foo') == 5, it produces
the correct "someexpr == 5".
CHANGES
lib/sqlalchemy/sql.py
test/sql/select.py