|
Lines 196-201
sub delete {
Link Here
|
| 196 |
|
196 |
|
| 197 |
=head3 update |
197 |
=head3 update |
| 198 |
|
198 |
|
|
|
199 |
$object->update( $fields, [ { no_triggers => 0/1 } ] ); |
| 200 |
|
| 201 |
This method overloads the DBIC inherited one so if code-level triggers exist |
| 202 |
(through the use of an overloaded I<update> or I<store> method in the Koha::Object |
| 203 |
based class) those are called in a loop on the resultset. |
| 204 |
|
| 205 |
If B<no_triggers> is passed and I<true>, then the DBIC update method is called |
| 206 |
directly. This feature is important for performance, in cases no code-level |
| 207 |
triggers are defined. The developer will explicitly ask for this and QA should |
| 208 |
catch wrong uses as well. |
| 209 |
|
| 199 |
=cut |
210 |
=cut |
| 200 |
|
211 |
|
| 201 |
sub update { |
212 |
sub update { |
| 202 |
- |
|
|