[Dbix-class] Specify tables for DBIx::Class::Schema::Loader

Matt S Trout dbix-class at trout.me.uk
Sat May 27 01:20:20 CEST 2006


John Li wrote:
> Hi,
> 
>  
> 
> Is there anyway that we can specify tables that we want/don't want in 
> DBIx::Class::Schema::Loader::make_schema_at? Preferably using regular 
> expressions or an arrayref of table names.

Y'know, this is documented :)

http://search.cpan.org/~blblack/DBIx-Class-Schema-Loader-0.03000/lib/DBIx/Class/Schema/Loader.pm#loader_options

references

::Base, which includes

http://search.cpan.org/dist/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/Base.pm#constraint

which takes a regex. That do the trick?



More information about the Dbix-class mailing list