Ejemplo n.º 1
0
 /**
  * Fetches all SQL result rows as an array of key-value pairs.
  *
  * The first column is the key, the second column is the
  * value.
  *
  * @param string|EhrlichAndreas_Db_Select|Zend_Db_Select $sql
  *            An SQL SELECT statement.
  * @param mixed $bind
  *            Data to bind into SELECT placeholders.
  * @return array
  */
 public function fetchPairs($sql, $bind = array())
 {
     return $this->adapter->fetchPairs($sql, $bind);
 }