Re: exploiting the object index
[prev]
[thread]
[next]
[Date index for 2005/05/31]
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
|
|
Re: exploiting the object index
Tony Bowden 15:28 on 31 May 2005
|