[Catalyst] How do I use use DBIx::Class::Schema and Catalyst

Brandon Black blblack at gmail.com
Tue Feb 7 15:19:17 CET 2006


On 2/7/06, Andreas Marienborg <omega at palle.net> wrote:
> Usually I did
>
> $c->model('ABook::Person')->find(<id>);
>
> but now instead I have to do it like this:
>
> $c->model('ABook')->resultset('Person')->find(<id>);
>
> so a bit more typing, but if the Schema stuff is cool, I guess its
> worth it :)
>

It will be possible to go back to the old way
($c->model('ABook::Person')), I'm working on that as a Model class.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Catalyst-Model-DBIC-Schema.pm
Type: application/octet-stream
Size: 1143 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060207/8b42a4ac/Catalyst-Model-DBIC-Schema-0001.obj


More information about the Catalyst mailing list