Newer Older
14 lines | 0.218kb
test cleanup
Yuki Kimoto authored on 2011-08-15
1
package MyModel8::TABLE1;
2
use MyModel8 -base;
3

            
added t/common-mysql-qualifi...
Yuki Kimoto authored on 2012-03-02
4
has join => sub {
5
  my $self = shift;
6
  
7
  my $alias = 'TABLE2_ALIAS';
8
  $alias =~ s/\./_/g;
9
  
10
  return ["left join TABLE2 $alias on TABLE1.KEY1 = $alias.KEY1"];
11
};
test cleanup
Yuki Kimoto authored on 2011-08-15
12

            
13

            
14
1;