[Catalyst] Dumb question of a beginner
Johan Lindström
johanl at DarSerMan.com
Mon Feb 11 14:29:03 GMT 2008
At 11:21 2008-02-11, Alex Povolotsky wrote:
>Looking at Catalyst::Enzyme::CRUD::Controller
...
> $c->stash->{items} = [ $model->retrieve_all() ];
...
>what should I change?
If you're a newbie, I think it's a mistake to go down the Class::DBI
route instead of using DBIx::Class. Which means, don't use
Catalyst::Enzyme (which is tied to CDBI). So the long/medium term
answer to your question is: change to another Catalyst CRUD module.
I'm sure the list can provide default recommendations.
But the short term answer to your question is here:
http://search.cpan.org/~tmtm/Class-DBI-v3.0.17/lib/Class/DBI.pm#search
/J
More information about the Catalyst
mailing list