diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-03-07 03:16:46 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-03-07 03:16:46 +0000 |
commit | f621df6ce6f3d60ec5badf789f98f62d1d0c206c (patch) | |
tree | 4014a5802a0e1212eb73684917f3780482aa187d /lib/sqlalchemy/sql/expression.py | |
parent | afc0cdfe7449c7821e22fe8ff9c27cf9eca1e7e0 (diff) | |
download | sqlalchemy-f621df6ce6f3d60ec5badf789f98f62d1d0c206c.tar.gz |
- moved property._is_self_referential() to be more generalized; returns True for any mapper.isa() relationship between parent and child, and indicates that aliasing should be used for any join/correlation across the relation. allows joins/any()/has() to work with inherited mappers referencing the parent etc.
- the original _is_self_referential() is now _refers_to_parent_table() and is only used during "direction" calculation to indicate the relation is from a single table to itself
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
0 files changed, 0 insertions, 0 deletions