line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package DBIx::Romani::Query::Select::Join; |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
318
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub new |
7
|
|
|
|
|
|
|
{ |
8
|
0
|
|
|
0
|
0
|
|
my $class = shift; |
9
|
0
|
|
|
|
|
|
my $args = shift; |
10
|
|
|
|
|
|
|
|
11
|
0
|
|
|
|
|
|
my $type; |
12
|
|
|
|
|
|
|
my $table_name; |
13
|
0
|
|
|
|
|
|
my $on; |
14
|
|
|
|
|
|
|
|
15
|
0
|
0
|
|
|
|
|
if ( ref($args) eq 'HASH' ) |
16
|
|
|
|
|
|
|
{ |
17
|
0
|
|
|
|
|
|
$type = $args->{type}; |
18
|
0
|
|
|
|
|
|
$table_name = $args->{table}; |
19
|
0
|
|
|
|
|
|
$on = $args->{on}; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
else |
22
|
|
|
|
|
|
|
{ |
23
|
0
|
|
|
|
|
|
$type = $args; |
24
|
0
|
|
|
|
|
|
$table_name = shift; |
25
|
0
|
|
|
|
|
|
$on = shift; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
0
|
|
|
|
|
|
my $self = { |
29
|
|
|
|
|
|
|
type => $type, |
30
|
|
|
|
|
|
|
table_name => $table_name, |
31
|
|
|
|
|
|
|
on => $on, |
32
|
|
|
|
|
|
|
}; |
33
|
|
|
|
|
|
|
|
34
|
0
|
|
|
|
|
|
bless $self, $class; |
35
|
0
|
|
|
|
|
|
return $self; |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
0
|
|
|
0
|
0
|
|
sub get_type { return shift->{type}; } |
39
|
0
|
|
|
0
|
0
|
|
sub get_table { return shift->{table_name}; } |
40
|
0
|
|
|
0
|
0
|
|
sub get_on { return shift->{on}; } |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
sub clone |
43
|
|
|
|
|
|
|
{ |
44
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
45
|
|
|
|
|
|
|
|
46
|
0
|
|
|
|
|
|
my $args = { |
47
|
|
|
|
|
|
|
type => $self->get_type(), |
48
|
|
|
|
|
|
|
table => $self->get_table(), |
49
|
|
|
|
|
|
|
on => $self->get_on() |
50
|
|
|
|
|
|
|
}; |
51
|
|
|
|
|
|
|
|
52
|
0
|
|
|
|
|
|
return DBIx::Romani::Query::Select::Join->new($args); |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
1; |
56
|
|
|
|
|
|
|
|