From: Oleg B. <ph...@ph...> - 2009-10-07 17:42:48
|
Hello! Please write to the mailing list. On Wed, Oct 07, 2009 at 04:21:50PM +0100, Chris Wood wrote: > My database already contains intermediate tables of many:many relationships, Many-to-many relations in SQLObject are created using two RelatedJoin's. Explicit intermediate tables are possible, too: http://sqlobject.org/FAQ.html#how-can-i-define-my-own-intermediate-table-in-my-many-to-many-relationship The example in the FAQ uses SQLRelatedJoin's. The difference is that RelatedJoin attributes return a list of rows (SQLObject instances) where SQLRelatedJoin attributes return a SelectResults instance which you can iterate over. Oleg. -- Oleg Broytman http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |