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. |
Please login to continue.