$db->update(
"table_users",
[
['name' => 'Frank'],
['surname' => 'Red']
],
['id' => '127']
);
function($table, array $values = NULL, array $where = NULL, bool $ignore = false)
{
$cfg = \is_array($table) ? $table : [
'tables' => [$table],
'where' => $where,
'fields' => $values,
'ignore' => $ignore
];
$cfg['kind'] = 'UPDATE';
return $this->_exec($cfg);
}