Newer Older
14 lines | 0.263kb
added t/common-mysql-qualifi...
Yuki Kimoto authored on 2012-03-02
1
package MyModel6::dbix_custom::table1;
2

            
3
use base 'MyModel6';
4

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

            
14
1;