]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- lazy loader can now handle a join condition where the "bound"
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Feb 2008 01:48:19 +0000 (01:48 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Feb 2008 01:48:19 +0000 (01:48 +0000)
commit1a3dc519930712d2e6de095a07d76da9a9062210
tree2587b92dde7ddba71b369ad1b88c7e0e296470cc
parent0b890e1ccde7da937a25107d9287d4dc4e5b7775
- lazy loader can now handle a join condition where the "bound"
column (i.e. the one that gets the parent id sent as a bind
parameter) appears more than once in the join condition.
Specifically this allows the common task of a relation()
which contains a parent-correlated subquery, such as "select
only the most recent child item". [ticket:946]
- col_is_part_of_mappings made more strict, seems to be OK
with tests
- memusage will dump out the size list in an assertion fail
CHANGES
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/strategies.py
test/orm/lazy_relations.py
test/orm/memusage.py