예제 #1
0
 /**
  * Fetch all rows of the result set as an array of key-value pairs
  *
  * The first column is the key, the second column is the value.
  *
  * @param   DbQuery $query
  *
  * @return  array
  */
 public function fetchPairs(DbQuery $query)
 {
     return $this->dbAdapter->fetchPairs($query->getSelectQuery());
 }