Newer Older
14 lines | 0.222kb
added Next version
Yuki Kimoto authored on 2011-11-16
1
package MyModel6::TABLE1;
2

            
3
use base 'MyModel6';
4

            
5
__PACKAGE__->attr(
6
    join => sub {
7
        [
8
            'left outer join TABLE2 on TABLE1.KEY1 = TABLE2.KEY1'
9
        ]
10
    },
11
    primary_key => sub { ['KEY1'] }
12
);
13

            
14
1;