2 PrefetchBug::LeftRight;
7 use base 'DBIx::Class::Core';
9 __PACKAGE__->table('left_right');
10 __PACKAGE__->add_columns(
11 left_id => { data_type => 'integer' },
12 right_id => { data_type => 'integer' },
15 __PACKAGE__->set_primary_key('left_id', 'right_id');
16 __PACKAGE__->belongs_to(left => 'PrefetchBug::Left', 'left_id');
17 __PACKAGE__->belongs_to(
18 right => 'PrefetchBug::Right',
20 # {join_type => 'left'}