db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Allen <...@mojavelinux.com>
Subject Re: retrieving values form different tables in a single join
Date Mon, 10 Mar 2003 23:57:47 GMT

> > Did you try this http://db.apache.org/torque/criteria-howto.html ?
> > 
> > Howard Lin
> Basically, I see how the criteria helps to limit the query results
> returned based on a filter, but I don't see that the criteria join
> actually causes it to retrieve and populate the related objects,
> proved by what I see in the logs.  The BasePeer torque object still
> shows an additional query whenever hopping tables in the data
> retreival.

Okay, I see getMemberJoinCompany() which I can use to grab the
member and company info at the same time.  But then, how would I do

getMemberJoinCompanyJoinAddress() ??

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <dan@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
"While they're pumping, you're soaking them" 
 -- Speed Loader TV Advert
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Mime
View raw message