Solar_Sql_Adapter_Mysql::fetchTableList()

public array Solar_Sql_Adapter_Mysql::fetchTableList ( string $schema = NULL )

Returns a list of database tables from the cache; if the cache entry is not available, queries the database for the list of tables.

Inherited from Solar_Sql_Adapter.

Parameters

  • (string) $schema: Fetch tbe list of tables in this database schema; when empty, uses the current or default schema.

Returns

  • (array) A sequential array of table names in the database.

Description

Returns a list of database tables from the cache; if the cache entry is not available, queries the database for the list of tables.



Local