|  line  | 
 true  | 
 false  | 
 branch  | 
 
| 
35
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
36
 | 
 0  | 
 0  | 
 unless my $t = shift()  | 
 
| 
37
 | 
 0  | 
 0  | 
 unless my $id = shift()  | 
 
| 
42
 | 
 0  | 
 0  | 
 if ($cache and @$cache and $opt ne 'refresh') { }  | 
 
| 
46
 | 
 0  | 
 0  | 
 if $rc and @$rc  | 
 
| 
62
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
63
 | 
 0  | 
 0  | 
 unless my $t = shift()  | 
 
| 
65
 | 
 0  | 
 0  | 
 unless my $rechash = shift()  | 
 
| 
68
 | 
 0  | 
 0  | 
 if ($$rechash{$table_id} and not $id)  | 
 
| 
72
 | 
 0  | 
 0  | 
 if ($id and $self->getrec($t, $id)) { }  | 
 
| 
73
 | 
 0  | 
 0  | 
 unless $self->update($t, $table_id, $id, $rechash)  | 
 
| 
75
 | 
 0  | 
 0  | 
 unless $id  | 
 
| 
76
 | 
 0  | 
 0  | 
 unless $self->insert($t, $rechash)  | 
 
| 
89
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
90
 | 
 0  | 
 0  | 
 unless my $t = shift()  | 
 
| 
94
 | 
 0  | 
 0  | 
 if $$self{'db_cache'}{$t}{$id}  | 
 
| 
104
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
105
 | 
 0  | 
 0  | 
 unless my $table = shift()  | 
 
| 
106
 | 
 0  | 
 0  | 
 unless my $key = shift()  | 
 
| 
107
 | 
 0  | 
 0  | 
 unless my $value = shift()  | 
 
| 
109
 | 
 0  | 
 0  | 
 unless $$self{'dbh'}  | 
 
| 
110
 | 
 0  | 
 0  | 
 unless $$self{'dbh'}  | 
 
| 
123
 | 
 0  | 
 0  | 
 unless $$self{'dbh'}  | 
 
| 
124
 | 
 0  | 
 0  | 
 unless $$self{'dbh'}  | 
 
| 
139
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
140
 | 
 0  | 
 0  | 
 unless my $table = shift()  | 
 
| 
141
 | 
 0  | 
 0  | 
 unless my $key = shift()  | 
 
| 
142
 | 
 0  | 
 0  | 
 unless my $value = shift()  | 
 
| 
144
 | 
 0  | 
 0  | 
 unless $$self{'dbh'}  | 
 
| 
145
 | 
 0  | 
 0  | 
 unless $$self{'dbh'}  | 
 
| 
155
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
156
 | 
 0  | 
 0  | 
 unless my $table = shift()  | 
 
| 
157
 | 
 0  | 
 0  | 
 unless my $key = shift()  | 
 
| 
158
 | 
 0  | 
 0  | 
 unless my $value = shift()  | 
 
| 
159
 | 
 0  | 
 0  | 
 unless my $nvpairs = shift()  | 
 
| 
163
 | 
 0  | 
 0  | 
 unless $$self{'dbh'}  | 
 
| 
164
 | 
 0  | 
 0  | 
 unless $$self{'dbh'}  | 
 
| 
170
 | 
 0  | 
 0  | 
 unless @cols and @vals  | 
 
| 
184
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
187
 | 
 0  | 
 0  | 
 unless $t  | 
 
| 
188
 | 
 0  | 
 0  | 
 unless $id  | 
 
| 
189
 | 
 0  | 
 0  | 
 unless $n  | 
 
| 
190
 | 
 0  | 
 0  | 
 unless $v  | 
 
| 
199
 | 
 0  | 
 0  | 
 if $a  | 
 
| 
200
 | 
 0  | 
 0  | 
 if $f  | 
 
| 
201
 | 
 0  | 
 0  | 
 if $s  | 
 
| 
204
 | 
 0  | 
 0  | 
 if ($$rc{'nv_id'}) { }  | 
 
| 
216
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
219
 | 
 0  | 
 0  | 
 unless $t  | 
 
| 
220
 | 
 0  | 
 0  | 
 unless $id  | 
 
| 
221
 | 
 0  | 
 0  | 
 unless $n  | 
 
| 
235
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
238
 | 
 0  | 
 0  | 
 unless $t  | 
 
| 
239
 | 
 0  | 
 0  | 
 unless $id  | 
 
| 
240
 | 
 0  | 
 0  | 
 unless $n  | 
 
| 
246
 | 
 0  | 
 0  | 
 if ($v)  | 
 
| 
251
 | 
 0  | 
 0  | 
 if ($a)  | 
 
| 
266
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
270
 | 
 0  | 
 0  | 
 unless $nv_id  | 
 
| 
271
 | 
 0  | 
 0  | 
 unless $v  | 
 
| 
273
 | 
 0  | 
 0  | 
 unless $rec = $self->getrec('nv', $nv_id)  | 
 
| 
275
 | 
 0  | 
 0  | 
 if $v  | 
 
| 
276
 | 
 0  | 
 0  | 
 if $a  | 
 
| 
285
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
287
 | 
 0  | 
 0  | 
 unless my $nv_id = shift()  | 
 
| 
297
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
298
 | 
 0  | 
 0  | 
 unless my $table_name = shift()  | 
 
| 
301
 | 
 0  | 
 0  | 
 if $fields_list = $$self{'fields_cache'}{$table_name}  | 
 
| 
311
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
313
 | 
 0  | 
 0  | 
 if ($id_type eq 'base64') { }  | 
 
| 
322
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
328
 | 
 0  | 
 0  | 
 unless my $self = shift()  | 
 
| 
335
 | 
 0  | 
 0  | 
 unless $parm  |