Previous Page
fetchSql()

Solar_Sql_Adapter_Mysql
fetchTableCols()

Next Page
fetchTableList()

fetchTableCols()

public array fetchTableCols ( string $table )

Returns an array describing table columns from the cache; if the cache entry is not available, queries the database for the column descriptions.

Inherited from Solar_Sql_Adapter.

Parameters

  • (string) $table: The table name to fetch columns for.

Returns

  • (array) An array of table columns.

Description

Returns an array describing table columns from the cache; if the cache entry is not available, queries the database for the column descriptions.