]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- _with_parent_criterion generalized into _with_lazy_criterion
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 26 Apr 2007 16:25:13 +0000 (16:25 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 26 Apr 2007 16:25:13 +0000 (16:25 +0000)
commit6dc8f93962d11b885483d5eaec2d0fedbe4f1d99
treef639447368056cb221e7bbd20bcdaaf28169bad6
parentb1ec42fb1d0f855f5276cfff67e77a0b824b7298
- _with_parent_criterion generalized into _with_lazy_criterion
- _create_lazy_clause now includes a 'reverse_direction' flag to generate lazy criterion
in from parent->child or vice versa
- changed join_by() in query to use the "reverse" _create_lazy_clause for instance comparisons
so conditions like AND can work [ticket:554]
CHANGES
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
test/orm/mapper.py