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

Matt S Trout dbix-class at trout.me.uk
Sat May 27 02:15:17 CEST 2006


John Li wrote:
> Thanks, Matt.
> 
> I also found 'constraint' and 'exclude' in the code before getting this
> message. 
> 
> foreach my $table (@tables) {
>         my $constraint = $self->constraint;
>         my $exclude = $self->exclude;
> 
>         next unless $table =~ /$constraint/;
>         next if defined $exclude && $table =~ /$exclude/;
> 	  ...
> }
> 
> Thanks again for pointing out the documentation :)

Yeah well, I had to actually read the docs first since I've never used a 
Loader and never plan to :)



More information about the Dbix-class mailing list