db\Schema getTableSchema()

getTableSchema() public method

Obtains the metadata for the named table.

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

Table name. The table name may contain schema name if any. Do not quote the table name.

$refresh boolean

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

return null|yii\db\TableSchema

Table metadata. Null if the named table does not exist.

doc_Yii
2016-10-30 16:59:41
Comments
Leave a Comment

Please login to continue.