db\pgsql\Schema getViewNames()

getViewNames() public method (available since version 2.0.9)

Returns all view names in the database.

public string[] getViewNames ( $schema = '', $refresh = false )
$schema string

The schema of the views. Defaults to empty string, meaning the current or default schema name. If not empty, the returned view names will be prefixed with the schema name.

$refresh boolean

Whether to fetch the latest available view names. If this is false, view names fetched previously (if available) will be returned.

return string[]

All view names in the database.

doc_Yii
2016-10-30 16:58:49
Comments
Leave a Comment

Please login to continue.