That's a witty idea. I'll use that on my project. Thanks -fred-
On Dec 15, 2007, at 8:27 PM, Luke Opperman wrote: > >>> No, RelatedJoin doesn't expose an API to do a join with the >>> intermediate >>> table. >> >> Ok, that what I thought. I'll do the join myself then. >> >> Thanks >> -fred- > > However, you're certainly free to have both a RelatedJoin and a > MultipleJoin, ie: > > class Mbox(SQLObject): > ... > msg_to = RelatedJoin("User") > msg_to_status = MultipleJoin("MboxUser") > > for user_status in message.msg_to_status: > print user_status.status > print user_status.user > > for user in message.msg_to: > ... > > - Luke > > > > > > > > ------------------------------------------------------------------------- > 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 > sqlobject-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss ------------------------------------------------------------------------- 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 sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss