gii\generators\model\Generator isColumnAutoIncremental()

isColumnAutoIncremental() protected method

Checks if any of the specified columns is auto incremental.

protected boolean isColumnAutoIncremental ( $table, $columns )
$table yii\db\TableSchema

The table schema

$columns array

Columns to check for autoIncrement property

return boolean

Whether any of the specified columns is auto incremental.

doc_Yii
2016-10-30 17:03:46
Comments
Leave a Comment

Please login to continue.