batchInsert() public method
Creates and executes an batch INSERT SQL statement.
The method will properly escape the column names, and bind the values to be inserted.
public void batchInsert ( $table, $columns, $rows ) | ||
---|---|---|
$table | string |
The table that new rows will be inserted into. |
$columns | array |
The column names. |
$rows | array |
The rows to be batch inserted into the table |
Please login to continue.