public static update ( mixed $data, mixed $conditions = [], array $options = [] ) : boolean | ||
$data | mixed | Typically an array of key/value pairs that specify the new data with which the records will be updated. For SQL databases, this can optionally be an SQL fragment representing the `SET` clause of an `UPDATE` query. |
$conditions | mixed | An array of key/value pairs representing the scope of the records to be updated. |
$options | array | Any database-specific options to use when performing the operation. See the `delete()` method of the corresponding backend database for available options. |
Résultat | boolean | Returns `true` if the update operation succeeded, otherwise `false`. |