db\Migration batchInsert()

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

doc_Yii
2016-10-30 16:58:09
Comments
Leave a Comment

Please login to continue.