From 4cbbf7725a565267b96bf003163713ef7f98b210 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 10 Nov 2006 00:46:57 +0000 Subject: - "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 --- doc/build/content/adv_datamapping.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 ) -- cgit v1.2.1