]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Identified an inconsistency when handling :meth:`.Query.join` to the
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 15 Apr 2015 21:30:23 +0000 (17:30 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 15 Apr 2015 21:30:23 +0000 (17:30 -0400)
commit2bc8c92279a165563b7ebcf82c96cd3cd7ede2a2
treeb73c1a6dda4b6f3078bf6e371d813834e8eaa41f
parent623e5b2149499d81d42936cd2907ebcc3ca48e8c
- Identified an inconsistency when handling :meth:`.Query.join` to the
same target more than once; it implicitly dedupes only in the case of
a relationship join, and due to :ticket:`3233`, in 1.0 a join
to the same table twice behaves differently than 0.9 in that it no
longer erroneously aliases.   To help document this change,
the verbiage regarding :ticket:`3233` in the migration notes has
been generalized, and a warning has been added when :meth:`.Query.join`
is called against the same target relationship more than once.
fixes #3367
doc/build/changelog/changelog_10.rst
doc/build/changelog/migration_10.rst
lib/sqlalchemy/orm/query.py
test/orm/test_joins.py