Doctrine\DBAL\Connection::exec
Execute an SQL statement and return the number of affected rows.
Signature
public function exec(string
$statement )
Parameters
$statement
— string
Returns
- integer
- The number of affected rows.