diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-02-06 14:48:03 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-02-06 14:48:03 -0500 |
commit | c11bc3f278862e72051ca5fe6ef35eb8d4bf9d99 (patch) | |
tree | c2c1d21846e9c0009d1e9976200fcdaf0329d718 /lib/sqlalchemy/sql/expression.py | |
parent | 73f734bf80166c7dfce4892941752d7569a17524 (diff) | |
download | sqlalchemy-c11bc3f278862e72051ca5fe6ef35eb8d4bf9d99.tar.gz |
proof of concept. relationships.JoinCondition is given
everything known about the relationship in an ORM-agnostic
way. The primaryjoin is determined as before, but is
then immediately parsed and annotated with "foreign",
"local" and "remote" annotations. These annotations
will then drive the additional decisions made, namely
"direction" and "sync pairs". The end user will be
able to pass a pre-annotated join condition in which
case those annotations take effect as given, which
will in one pass fix both #1401 as well as #610
(for #610, the "foreign" / "remote" annotation can
recursively descend down to ColumnElement objects).
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
0 files changed, 0 insertions, 0 deletions