Table expression and columns are not escaped and are not safe for user-input.
public update ( string $tableExpression, array $data, array $identifier, array $types = [] ) : integer | ||
$tableExpression | string | The expression of the table to update quoted or unquoted. |
$data | array | An associative array containing column-value pairs. |
$identifier | array | The update criteria. An associative array containing column-value pairs. |
$types | array | Types of the merged $data and $identifier arrays in that order. |
return | integer | The number of affected rows. |