On Nov 28, 2007 11:30 PM, Oleg Broytmann wrote:

> On Wed, Nov 28, 2007 at 11:15:29PM +0100, Petr Jake?? wrote:
> > *Example given on the web is:*
> >     for contact in customer.contacts:
> >         print ' ', contact.phoneNumber
> >
> > but my feeling is it should be something like:
> >
> >     for contact in Contact.select(Contact.q.customer.id==customer.id):
> >         print ' ', sale.aged
>
>   MultipleJoin or RelatedJoin do this automagically, so you don't need to.


But there is not MultipleJoin or RelatedJoin in the given example ....

Petr


>
> Oleg.
> --
>     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
>           Programmers don't die, they just GOSUB without RETURN.
>
>
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to