]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bugs in ORM object comparisons where comparison of
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Feb 2015 20:14:08 +0000 (15:14 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Feb 2015 20:14:08 +0000 (15:14 -0500)
commit305ea84004fe604f461cd3c9438fbc84e3d790b2
treec0bd81cf661d99f289cd26fa7b8730cccb3a5da9
parent4f63e2497020681a4f2aa5d4a28495ded008d2b2
- Fixed bugs in ORM object comparisons where comparison of
many-to-one ``!= None`` would fail if the source were an aliased
class, or if the query needed to apply special aliasing to the
expression due to aliased joins or polymorphic querying; also fixed
bug in the case where comparing a many-to-one to an object state
would fail if the query needed to apply special aliasing
due to aliased joins or polymorphic querying.
fixes #3310
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/orm/relationships.py
test/orm/inheritance/test_relationship.py
test/orm/test_query.py