Doctrine\DBAL\Connection::insert
Inserts a table row with specified data.
Signature
public function insert(string
$tableName,
array
$data,
array
$types )
Parameters
$tableName
— string- The name of the table to insert data into.
$data
— array- An associative array containing column-value pairs.
$types
— array- Types of the inserted data.
Returns
- integer
- The number of affected rows.