]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The ON clause rendered when using :meth:`.Query.join`,
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 10 Oct 2014 00:40:35 +0000 (20:40 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 10 Oct 2014 00:40:35 +0000 (20:40 -0400)
commitdd6389f171736abd28d777b6fde40403cab0c13e
tree2193960f80e8074867ceb4eac7c253ab69f9ed9a
parent81d1e0455a406560be468d1aacc37aa63bb4d717
- The ON clause rendered when using :meth:`.Query.join`,
:meth:`.Query.outerjoin`, or the standalone :func:`.orm.join` /
:func:`.orm.outerjoin` functions to a single-inheritance subclass will
now include the "single table criteria" in the ON clause even
if the ON clause is otherwise hand-rolled; it is now added to the
criteria using AND, the same way as if joining to a single-table
target using relationship or similar.
fixes #3222
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/util.py
test/orm/inheritance/test_single.py