Previous Page
fetchAssoc()

Solar_Sql_Adapter_Sqlite
fetchCol()

Next Page
fetchOne()

fetchCol()

public array fetchCol ( array|string $spec, array $data default array () )

Fetches the first column of all rows as a sequential array.

Inherited from Solar_Sql_Adapter.

Parameters

  • (array|string) $spec: An array of component parts for a SELECT, or a literal query string.
  • (array) $data: An associative array of data to bind into the SELECT statement.

Returns

  • (array)

Description

Fetches the first column of all rows as a sequential array.