diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-11-10 00:46:57 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-11-10 00:46:57 +0000 |
| commit | 4cbbf7725a565267b96bf003163713ef7f98b210 (patch) | |
| tree | 2656876c39cc999107c9f19bfa61b8bf709cc143 /doc | |
| parent | 48a4d9a7ebab0b3e1e8328c75c55ac2392e33e75 (diff) | |
| download | sqlalchemy-4cbbf7725a565267b96bf003163713ef7f98b210.tar.gz | |
- "delete-orphan" for a certain type can be set on more than one parent class;
the instance is an "orphan" only if its not attached to *any* of those parents
- better check for endless recursion in eagerloader.process_row
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/content/adv_datamapping.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/content/adv_datamapping.txt b/doc/build/content/adv_datamapping.txt index 0a0274c46..df084eb25 100644 --- a/doc/build/content/adv_datamapping.txt +++ b/doc/build/content/adv_datamapping.txt @@ -179,7 +179,7 @@ Many to many relationships can be customized by one or both of `primaryjoin` and pass mapper(Keyword, keywords_table) mapper(User, users_table, properties={ - 'keywords':relation(Keyword, secondary=userkeywords_table + 'keywords':relation(Keyword, secondary=userkeywords_table, primaryjoin=users_table.c.user_id==userkeywords_table.c.user_id, secondaryjoin=userkeywords_table.c.keyword_id==keywords_table.c.keyword_id ) |
