Re: Essential columns defaults to All?
[prev]
[thread]
[next]
[Date index for 2004/06/22]
Maurice Aubrey wrote:
>
> The POD says:
>
> ~ Essential are the minimal set of columns needed to load and use
> ~ the object. Only the columns in this group will be loaded when an
> ~ object is retrieve()d. It is typically used to save memory on a class
> ~ that has a lot of columns but where we mostly only use a few of them.
> ~ It will automatically be set to All if you dont set it yourself.
> ~ The Primary column is always part of your Essential group and
> ~ Class::DBI will put it there if you dont.
>
> So if I don't set the Essential group explicitly, it should default
> to All columns. But in testing that, it looks like it defaults to
> the Primary group instead:
That was changed in version 0.92. I guess the docs need an update.
Stuart Johnston
 |
 |
Re: Essential columns defaults to All?
Stuart Johnston 21:32 on 22 Jun 2004
|