|
Previous Page |
Solar_Sql_Adapter_Pgsql |
Next Page |
fetchPairs()
public
array
fetchPairs (
array|string $spec,
array $data default array ()
)
Fetches an associative array of all rows as key-value pairs (first column is the key, second column is the value).
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 an associative array of all rows as key-value pairs (first column is the key, second column is the value).
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _addProfile()
- _bind()
- _buildDsn()
- _checkIdentifier()
- _createSequence()
- _dropIndex()
- _dropSequence()
- _exception()
- _fetchTableCols()
- _fetchTableList()
- _getCacheKey()
- _getDefault()
- _getTypeSizeScope()
- _modAutoincPrimary()
- _modIndexName()
- _modSelect()
- _modSequenceName()
- _nextSequence()
- _postConnect()
- _prepare()
- _quoteName()
- _quoteNamesIn()
- _select()
- _setDsn()
- _setup()
- _sqlColdef()
- _sqlCreateTable()
- _sqlSelect()
- addColumn()
- apiVersion()
- begin()
- commit()
- connect()
- createIndex()
- createSequence()
- createTable()
- delete()
- disconnect()
- dropColumn()
- dropIndex()
- dropSequence()
- dropTable()
- dump()
- fetchAll()
- fetchAssoc()
- fetchCol()
- fetchOne()
- fetchPairs()
- fetchPdo()
- fetchSql()
- fetchTableCols()
- fetchTableList()
- fetchValue()
- getCache()
- getCacheKeyPrefix()
- getPdo()
- getProfile()
- insert()
- lastInsertId()
- locale()
- nextSequence()
- query()
- quote()
- quoteInto()
- quoteMulti()
- quoteName()
- quoteNamesIn()
- rollback()
- setCache()
- setCacheKeyPrefix()
- setProfiling()
- update()