Bluz\Db\Table::update
Updates existing rows
<code> Table::insert(['login' => 'Man', 'email' => 'man@domain.com'], ['id' => 42]) </code>
Signature
public function update(array
$data,
array
$where )
Parameters
$data
— array- Column-value pairs.
$where
— array- An array of SQL WHERE clause(s)
Returns
- integer
- The number of rows updated