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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.