Newer Older
14 lines | 0.222kb
DBIx::Custom::Model select()...
Yuki Kimoto authored on 2011-02-22
1
package MyModel6::table1;
2

            
3
use base 'MyModel6';
4

            
5
__PACKAGE__->attr(
- added experimental DBIx::C...
Yuki Kimoto authored on 2011-03-08
6
    join => sub {
7
        [
8
            'left outer join table2 on table1.key1 = table2.key1'
9
        ]
DBIx::Custom::Model select()...
Yuki Kimoto authored on 2011-02-22
10
    },
11
    primary_key => sub { ['key1'] }
12
);
13

            
14
1;