]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Support is improved for supplying a :func:`.join` construct as the
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 23 Jan 2014 01:16:47 +0000 (20:16 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 23 Jan 2014 01:16:47 +0000 (20:16 -0500)
commit743ceb045e8be8b606198f4d5c02a72abebb2fbb
treeca3b2c4a1a36cf88eb74d32b999c37d4bc1bee1b
parent1732414076677e8fb84134325635729691f3d26d
- Support is improved for supplying a :func:`.join` construct as the
target of :paramref:`.relationship.secondary` for the purposes
of creating very complex :func:`.relationship` join conditions.
The change includes adjustments to query joining, joined eager loading
to not render a SELECT subquery, changes to lazy loading such that
the "secondary" target is properly included in the SELECT, and
changes to declarative to better support specification of a
join() object with classes as targets.
doc/build/changelog/changelog_09.rst
doc/build/orm/mapper_config.rst
doc/build/orm/relationships.rst
lib/sqlalchemy/ext/declarative/clsregistry.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/relationships.py
lib/sqlalchemy/orm/strategies.py
test/ext/declarative/test_basic.py
test/orm/inheritance/test_manytomany.py
test/orm/test_joins.py
test/orm/test_relationships.py