[Dbix-class] Same table set, multiple schema problem

Moritz Onken onken at houseofdesign.de
Tue Jan 6 09:16:06 GMT 2009


Am 06.01.2009 um 08:30 schrieb Hu Hailin:

> Hi
>
> Our application is using Catalyst and DBIx::Class. We have about 100
> tables, so we have about 100 DBIC pm files. Just like
> ----------
> Schema.pm
> Schema/Table1.pm
> Schema/Table2.pm
> ...
> ----------


Have a look at http://search.cpan.org/~ash/DBIx-Class-0.08010/lib/DBIx/Class/Schema.pm#load_classes
where you can set specific classes to be loaded.

moritz



More information about the DBIx-Class mailing list