On Sat, Dec 15, 2007 at 05:12:27PM -0800, Fred C wrote:
> Ok, that what I thought. I'll do the join myself then.
I've got an idea - add a MultipleJoin to join with the intermediate
table:
class Mbox(SQLObject):
mbox_user = MultipleJoin("MboxUser", joinColumn='mbox_id')
It doesn't require any change in the DB - MultipleJoin works by making
a single straight (equal) join with the corresponding ForeignKey on the
other table.
Does it help?
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss