db\Migration insert()

insert() public method

Creates and executes an INSERT SQL statement.

The method will properly escape the column names, and bind the values to be inserted.

public void insert ( $table, $columns )
$table string

The table that new rows will be inserted into.

$columns array

The column data (name => value) to be inserted into the table.

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

Please login to continue.