This repository has been archived by the owner on May 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Update
ratajs edited this page Feb 13, 2017
·
1 revision
This method changes one row of table.
Syntax:
$object->update(string $table, array $arr, array $values[, bool $all = true])
- Object
- - Object of extension.
- Table
- - Table name.
- Arr
- - String of SQL condition or array, where key is column name and value is its value. When all respectively one is true, this row se změní.
- Values
- - Array, where key is column name and value id new value or this column.
- All
- - Row will be updated only when all conditions are true, else row will be updated when whichever condition is true.