|
Lines 234-252
sub _wrap {
Link Here
|
| 234 |
return @objects; |
234 |
return @objects; |
| 235 |
} |
235 |
} |
| 236 |
|
236 |
|
| 237 |
=head3 update |
|
|
| 238 |
|
| 239 |
Koha::Objects->search({ $key => $value})->update( \%values ); |
| 240 |
|
| 241 |
Sets the specified columns in the resultset to the supplied values in a single query. |
| 242 |
|
| 243 |
=cut |
| 244 |
|
| 245 |
sub update { |
| 246 |
my ( $self, $params ) = @_; |
| 247 |
return $self->_resultset()->update($params); |
| 248 |
} |
| 249 |
|
| 250 |
=head3 Koha::Objects->_resultset |
237 |
=head3 Koha::Objects->_resultset |
| 251 |
|
238 |
|
| 252 |
Returns the internal resultset or creates it if undefined |
239 |
Returns the internal resultset or creates it if undefined |
| 253 |
- |
|
|