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