getTableNames() public method
Returns all table names in the database.
| public string[] getTableNames ( $schema = '', $refresh = false ) | ||
|---|---|---|
| $schema | string |
The schema of the tables. Defaults to empty string, meaning the current or default schema name. If not empty, the returned table names will be prefixed with the schema name. |
| $refresh | boolean |
Whether to fetch the latest available table names. If this is false, table names fetched previously (if available) will be returned. |
| return | string[] |
All table names in the database. |
Please login to continue.