original_string: public function fetchPairs($sql, $bind = array())
      {
          $stmt = $this->query($sql, $bind);
          $data = array();
          while ($row = $stmt->fetch(Zend_Db::FETCH_NUM)) {
              $data[$row[0]] = $row[1];
          }
          return $data;
      }
code: public function fetchPairs($sql, $bind = array())
      {
          $stmt = $this->query($sql, $bind);
          $data = array();
          while ($row = $stmt->fetch(Zend_Db::FETCH_NUM)) {
              $data[$row[0]] = $row[1];
          }
          return $data;
      }
code_tokens: public function fetchPairs ( $ sql , $ bind = array ( ) ) { $ stmt = $ this -> query ( $ sql , $ bind ) ; $ data = array ( ) ; while ( $ row = $ stmt -> fetch ( Zend_Db :: FETCH_NUM ) ) { $ data [ $ row [ 0 ] ] = $ row [ 1 ] ; } return $ data ; }
docstring: 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|Zend_Db_Select $sql An SQL SELECT statement.
  @param mixed $bind Data to bind into SELECT placeholders.
  @return array
docstring_tokens: Fetches all SQL result rows as an array of key - value pairs .