Yuki Kimoto cleanup test
4067c45 13 years ago
1 contributor
14 lines | 0.223kb
  1. package MyModel7::table1;
  2.  
  3. use base 'MyModel7';
  4.  
  5. __PACKAGE__->attr(
  6. primary_key => sub { ['key1'] },
  7. join => sub {
  8. [
  9. 'left outer join table2 on table1.key1 = table2.key1'
  10. ]
  11. },
  12. );
  13.  
  14. 1;