On Mon, Jun 30, 2008 at 07:12:42PM -0700, Golemon, Buck wrote:
> Given a graph of tables with ForeignKeys and MultipleJoins, what's the
> best/easiest way to find how to join two arbitrary tables?

   Either to do it manually, or using magic attribute .throughTo (which
I don't fully understand myself).
   See http://sqlobject.org/News.html#sqlobject-0-10-0 ,
tests/test_select_through.py, tests/test_sqlbuilder_joins_instances.py.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to