[Dbix-class] How to change base class for autogenerated Schema/* files?

Peter Rabbitson rabbit+dbic at rabbit.us
Mon Jan 18 10:31:15 GMT 2010


Alex Povolotsky wrote:
> Hello!
> 
> I'm using Catalyst::Model::DBIC::Schema::Loader and autogenerate
> Schema/*.pm files.
> 
> I'd like to add some common functionality to some of them, and I'd
> greatly prefer adding it in one place to copypasting code.
> 

Maybe this?
http://search.cpan.org/~rkitover/DBIx-Class-Schema-Loader-0.04999_14/lib/DBIx/Class/Schema/Loader/Base.pm#result_base_class




More information about the DBIx-Class mailing list