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