$config is an array of key/value pairs containing configuration options. These options are common to most adapters:
dbname => (string) The name of the database to user username => (string) Connect to the database as this username. password => (string) Password associated with the username. host => (string) What host to connect to, defaults to localhost
Tags:
throws:
PhpLight_Db_Adapter_Exception
access:
public
Parameters:
array
$config
An array or instance of PhpLight_Config having configuration data
Fetches all SQL result rows as an associative array.
The first column is the key, the entire row array is the value. You should construct the query to be sure that the first column contains unique values, or else rows with duplicate values in the first column will overwrite previous data.