db\Schema getTableSchemas()

getTableSchemas() public method

Returns the metadata for all tables in the database.

public yii\db\TableSchema[] getTableSchemas ( $schema = '', $refresh = false )
$schema string

The schema of the tables. Defaults to empty string, meaning the current or default schema name.

$refresh boolean

Whether to fetch the latest available table schemas. If this is false, cached data may be returned if available.

return yii\db\TableSchema[]

The metadata for all tables in the database. Each array element is an instance of yii\db\TableSchema or its child class.

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

Please login to continue.