06648ac 12 years ago
1 contributor
14 lines | 0.263kb
package MyModel6::dbix_custom::table1;

use base 'MyModel6';

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

1;