line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package ODS::Table::ResultSet; |
2
|
|
|
|
|
|
|
|
3
|
72
|
|
|
72
|
|
107341
|
use YAOO; |
|
72
|
|
|
|
|
204
|
|
|
72
|
|
|
|
|
724
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
auto_build; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
has table => isa(object); |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub all { |
10
|
110
|
|
|
110
|
0
|
24489
|
my ($self, @params) = @_; |
11
|
110
|
|
|
|
|
796
|
return $self->table->storage->all(@params); |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub search { |
15
|
4
|
|
|
4
|
0
|
1427
|
my ($self, @params) = @_; |
16
|
4
|
|
|
|
|
27
|
$self->table->storage->search(@params); |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub find { |
20
|
6
|
|
|
6
|
0
|
1390
|
my ($self, @params) = @_; |
21
|
6
|
|
|
|
|
27
|
$self->table->storage->find(@params); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub create { |
25
|
1721
|
|
|
1721
|
0
|
7893
|
my ($self, @params) = @_; |
26
|
1721
|
|
|
|
|
5888
|
$self->table->storage->create(@params); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub update { |
30
|
2
|
|
|
2
|
0
|
1025
|
my ($self, @params) = @_; |
31
|
2
|
|
|
|
|
9
|
$self->table->storage->update(@params); |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
sub delete { |
35
|
3
|
|
|
3
|
0
|
2580
|
my ($self, @params) = @_; |
36
|
3
|
|
|
|
|
18
|
$self->table->storage->delete(@params); |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
1; |