diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-01-23 04:05:07 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-01-23 04:05:07 +0000 |
commit | 30f75c2157478480c54ca65d2a00ec1ed6a8820e (patch) | |
tree | c94aa42baccc2d5bef90bd2e3084aa2a930f4b90 /lib/sqlalchemy/ext/sqlsoup.py | |
parent | caabadf86666256d1626b84e512fd66bad52fb50 (diff) | |
download | sqlalchemy-30f75c2157478480c54ca65d2a00ec1ed6a8820e.tar.gz |
relationships no longer compile against the "selectable" mapper (i.e. the polymorphic mapper). join conditions, foreign keys etc. are configured against the actual mappers used in the relationship in all cases. the lazy and eager loaders in turn "adapt" their lazy/eager clauses to that of the "selectable" mapper if one is present. this is because the join conditions between the mapper's base tables are *far* easier to work with and detect direction etc. compared to an enormous polymorphic union; dealing with the polymorphic union is pushed further out into select query construction.
Diffstat (limited to 'lib/sqlalchemy/ext/sqlsoup.py')
0 files changed, 0 insertions, 0 deletions