db\sqlite\QueryBuilder dropColumn()

dropColumn() public method

Builds a SQL statement for dropping a DB column.

public string dropColumn ( $table, $column )
$table string

The table whose column is to be dropped. The name will be properly quoted by the method.

$column string

The name of the column to be dropped. The name will be properly quoted by the method.

return string

The SQL statement for dropping a DB column.

throws yii\base\NotSupportedException

this is not supported by SQLite

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.