db\Schema getSchemaNames()

getSchemaNames() public method (available since version 2.0.4)

Returns all schema names in the database, except system schemas.

public string[] getSchemaNames ( $refresh = false )
$refresh boolean

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

return string[]

All schema names in the database, except system schemas.

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.