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
2016-10-30 16:57:49
Comments
Leave a Comment

Please login to continue.