Reputation: 5801
I want
DBIx::Class::Schema::Loader
to create a class (say OurSchemaBase::*
) for each of my tables.
Then I want to derive each of these classes and put them in, say, OurSchema::*
and I want the relationship to point to my derived class not to the autogenerated base class.
Can I make DBIx::Class::Schema::Loader
create relationships in OurSchemaBase::*
to OurSchema::*
classes instead of to OurSchemaBase::*
classes?
Is this possible with DBIx::Class::Schema::Loader
?
Upvotes: 0
Views: 53
Reputation: 2204
Nothing related directly to Schema::Loader, check out https://metacpan.org/pod/DBIx::Class::Helper::Row::SubClass.
Upvotes: 1