Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.
ratajs edited this page Feb 13, 2017 · 1 revision

Update

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.
Clone this wiki locally