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

Hu Hailin i at h2l.name
Tue Jan 6 09:58:02 GMT 2009


ahrrrr, i can load a different set of tables before connecting.

thank you, Moritz.

On Tue, Jan 6, 2009 at 6:16 PM, Moritz Onken <onken at houseofdesign.de> wrote:
>
> 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
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive:
> http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk
>



-- 
islue



More information about the DBIx-Class mailing list