Doctrine\DBAL\Connection::update
Executes an SQL UPDATE statement on a table.
Signature
public function update(string
$tableName,
array
$data,
array
$identifier,
array
$types )
Parameters
$tableName
— string- The name of the table to update.
$data
— array$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.
Returns
- integer
- The number of affected rows.