]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug that would prevent "subqueryload" from
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 14 Sep 2010 02:55:54 +0000 (22:55 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 14 Sep 2010 02:55:54 +0000 (22:55 -0400)
commit03523970d993b06ff8bed86e2af3ea153cd6112b
treeff3f50c5c3c3b6698599155fc4e9786c1f20d07d
parent2ed6f06329a7bb2f780aebc467a72321dfb5c204
  - Fixed bug that would prevent "subqueryload" from
    working correctly with single table inheritance
    for a relationship from a subclass - the "where
    type in (x, y, z)" only gets placed on the inside,
    instead of repeatedly.

  - When using from_self() with single table inheritance,
    the "where type in (x, y, z)" is placed on the outside
    of the query only, instead of repeatedly.   May make
    some more adjustments to this.
CHANGES
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
test/orm/inheritance/test_single.py