[Catalyst] Introductions all around

Joshua J. Kugler jkugler at bigfoot.com
Thu Jul 7 06:42:36 CEST 2005

On Wednesday 06 July 2005 20:24, Andy Grundman said something like:
> Joshua J. Kugler wrote:
> > Ask for order 42.
> > Retrieve all information about that order (probably one row in
> > Orders) Then, retrieve all data about all the order items for that
> > order (i.e. retrieve all OrderItems where OrderID = 42).
> > Then, what is returned is (probably) a hash, each entry is
> > name/value, then there is an Items key which is an array of hashes,
> > each hash being a single with OrderItem.  Does that makes sense? 
> > Does anything like that exist?  Or is that exactly what "prefetch"
> > is?
> Currently, prefetch only goes 1 level down, it will load as many
> has_a or might_have columns of the current object as you ask for. 
> Matt's got plans to add support for going farther than that though,
> so stay tuned. :)

Cool.  Right now, my (currently) limited imagination can only see uses 
for one level down, so that should be fine.  When I run into needing 
more, I'll yell. :)

j----- k-----

Joshua J. Kugler -- Fairbanks, Alaska -- ICQ#:13706295
Every knee shall bow, and every tongue confess, in heaven, on earth, and 
under the earth, that Jesus Christ is LORD -- Count on it!

More information about the Catalyst mailing list