[Catalyst] Catalyst::Model::DBIC::Schema and result classes

Brandon Black blblack at gmail.com
Thu Mar 30 19:10:09 CEST 2006


On 3/30/06, Richard Jolly <Richard.Jolly at bbc.co.uk> wrote:
>
>
> Hi,
>
> I'm trying to get started with C::M::DBIC::Schema. I have an existing schema
> defined, but C::M::DBIC::Schema does not seem to be picking up custom
> result_classes .
>
> The schema is defined like:
>
> PIP::Schema;
> PIP::Schema::Pip           # source/table definitions
> PIP::ResultSet::Pip         # custom resultset classes
> PIP::Pip                         # result class additional
> methods

Have I got this part straight?

PIP::Schema ISA DBIx::Class::Schema
PIP::Schema::Pip is the source definition for table "pip", which has a
->resultset_class of:
PIP::ResultSet::Pip which ISA DBIx::Class::ResultSet, and also does a
use base on:
PIP::Pip

?

-- Brandon



More information about the Catalyst mailing list