Yuki Kimoto cleanup
5e8d869 12 years ago
1 contributor
14 lines | 0.214kb
package MyModel6::table1;

use base 'MyModel6';

__PACKAGE__->attr(
    join => sub {
      [
        'left outer join table2 on table1.key1 = table2.key1'
      ]
    },
    primary_key => sub { ['key1'] }
);

1;