db\Connection getTableSchema()

getTableSchema() public method

Obtains the schema information for the named table.

public yii\db\TableSchema getTableSchema ( $name, $refresh = false )
$name string

Table name.

$refresh boolean

Whether to reload the table schema even if it is found in the cache.

return yii\db\TableSchema

Table schema information. Null if the named table does not exist.

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

Please login to continue.