Re: exploiting the object index

[prev] [thread] [next] [Date index for 2005/05/31]

From: Tony Bowden
Subject: Re: exploiting the object index
Date: 15:28 on 31 May 2005
On Tue, May 31, 2005 at 05:24:53PM +0200, Hartmaier Alexander wrote:
> I want to retrieve all objects of a class to avoid lots of
> single-row-returning sql queries against the db.

Class::DBI already does this. It only has to go back to the database if
you ask an object for an attribute that it doesn't already know. The
easiest way to ensure that doesn't happen is to set your Essential
columns to be All columns.

Tony

exploiting the object index
Hartmaier Alexander 15:24 on 31 May 2005

Re: exploiting the object index
Tony Bowden 15:28 on 31 May 2005

Re: exploiting the object index
Cees Hek 15:36 on 31 May 2005

Re: exploiting the object index
Hartmaier Alexander 15:44 on 31 May 2005

Generated at 16:37 on 28 Jul 2005 by mariachi v0.52