@@ -, +, @@ --- Koha/Objects.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) --- a/Koha/Objects.pm +++ a/Koha/Objects.pm @@ -196,6 +196,17 @@ sub delete { =head3 update + $object->update( $fields, [ { no_triggers => 0/1 } ] ); + +This method overloads the DBIC inherited one so if code-level triggers exist +(through the use of an overloaded I or I method in the Koha::Object +based class) those are called in a loop on the resultset. + +If B is passed and I, then the DBIC update method is called +directly. This feature is important for performance, in cases no code-level +triggers are defined. The developer will explicitly ask for this and QA should +catch wrong uses as well. + =cut sub update { --