79973a7 13 years ago
1 contributor
19 lines | 0.255kb
package MyDBI1;

use strict;
use warnings;

use base 'DBIx::Custom';

sub connect {
    my $self = shift->SUPER::connect(@_);
    
    $self->include_model(
        MyModel1 => [
            $self->table1,
            $self->table2
        ]
    );
}

1;