Doctrine\DBAL\Connection::delete
Executes an SQL DELETE statement on a table.
Signature
public function delete(string
$tableName,
array
$identifier )
Parameters
$tableName
— string- The name of the table on which to delete.
$identifier
— array- The deletion criteria. An associative array containing column-value pairs.
Returns
- integer
- The number of affected rows.