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/            p...@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to