b449b97 13 years ago
1 contributor
19 lines | 0.257kb
package MyDBI1;

use strict;
use warnings;

use base 'DBIx::Custom';

sub connect {
    my $self = shift->SUPER::connect(@_);
    
    $self->include_model(
        MyModel1 => [
            'book',
            {company => 'Company'}
        ]
    );
}

1;