]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added a new option to :paramref:`.relationship.innerjoin` which is
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 28 Feb 2014 19:15:13 +0000 (14:15 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 28 Feb 2014 19:15:13 +0000 (14:15 -0500)
commit12ce2edc92eff647fedfd6943d60703b3c3eeff5
tree1b2dec2a070c2df0b23bb38b8b1e9e0c552fd266
parente21cd0d95fb6cdcb4e10ea78abd5626bb92c37c3
- Added a new option to :paramref:`.relationship.innerjoin` which is
to specify the string ``"nested"``.  When set to ``"nested"`` as opposed
to ``True``, the "chaining" of joins will parenthesize the inner join on the
right side of an existing outer join, instead of chaining as a string
of outer joins.   This possibly should have been the default behavior
when 0.9 was released, as we introduced the feature of right-nested
joins in the ORM, however we are keeping it as a non-default for now
to avoid further surprises.
fixes #2976
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/orm/relationships.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/strategy_options.py
test/orm/test_eager_relations.py