[Catalyst] Catalyst::Model::CDBI

Jesper Krogh jesper at krogh.cc
Thu Oct 6 17:04:40 CEST 2005

> On 10/6/05, Jesper Krogh <jesper at krogh.cc> wrote:
> You just add a line like:
> __PACKAGE__->columns(Essential => qw/id nick name cdate/);
> to your model package, and then on default only the listed columns will be
> loaded from the database. Please read the 'LAZY POPULATION' part of CDBI
> documentation for further explanations

Yes.. but doesn't that solutoin assumes that I have a "model" class?
I dont, since it uses Class::DBI::Loader to load the database model.

Jesper Krogh

More information about the Catalyst mailing list