Newer Older
19 lines | 0.227kb
support model full-qualified...
Yuki Kimoto authored on 2012-03-01
1
package MyDBI1;
2

            
3
use strict;
4
use warnings;
5

            
6
use base 'DBIx::Custom';
7

            
8
sub connect {
9
  my $self = shift->SUPER::connect(@_);
10
  
11
  $self->include_model(
12
    MyModel1 => [
13
      $self->table1,
14
      $self->table2
15
    ]
16
  );
17
}
18

            
19
1;