]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Improved the check for "how to join from A to B" such that when
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 27 Mar 2014 23:43:15 +0000 (19:43 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 27 Mar 2014 23:43:15 +0000 (19:43 -0400)
commit0611baa889198421afa932f2af1524bd8826ed7d
tree14eefdf690316a43ea6f32680fa5bcad2f495a42
parent50576a01eb39742632268fe1e595a554625171eb
- Improved the check for "how to join from A to B" such that when
a table has multiple, composite foreign keys targeting a parent table,
the :paramref:`.relationship.foreign_keys` argument will be properly
interpreted in order to resolve the ambiguity; previously this condition
would raise that there were multiple FK paths when in fact the
foreign_keys argument should be establishing which one is expected.
fixes #2965
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/sql/selectable.py
test/orm/test_rel_fn.py