]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added a flag to relation(), eagerload(), and eagerload_all()
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 18 Oct 2009 20:28:19 +0000 (20:28 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 18 Oct 2009 20:28:19 +0000 (20:28 +0000)
commitcad7e3ceca55f4b1937e77f6ad93b1da88899446
tree5ec7498488fda07fd4f8291c4f66bcdf951f8c84
parentfacb6516e9def708c2b53dcf65b3d2e3c8169744
- added a flag to relation(), eagerload(), and eagerload_all()
called 'innerjoin'.  Specify `True` or `False` to control
whether an eager join is constructed as an INNER or OUTER
join.   Default is `False` as always.   The mapper options
will override whichever setting is specified on relation().
Should generally be set for many-to-one, not nullable
foreign key relations to allow improved join performance.
[ticket:1544]
CHANGES
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/strategies.py
test/orm/test_eager_relations.py