original_string: public function query($fetchMode = null, $bind = array())
      {
          if (!empty($bind)) {
              $this->bind($bind);
          }
  
          $stmt = $this->_adapter->query($this);
          if ($fetchMode == null) {
              $fetchMode = $this->_adapter->getFetchMode();
          }
          $stmt->setFetchMode($fetchMode);
          return $stmt;
      }
code: public function query($fetchMode = null, $bind = array())
      {
          if (!empty($bind)) {
              $this->bind($bind);
          }
  
          $stmt = $this->_adapter->query($this);
          if ($fetchMode == null) {
              $fetchMode = $this->_adapter->getFetchMode();
          }
          $stmt->setFetchMode($fetchMode);
          return $stmt;
      }
code_tokens: public function query ( $ fetchMode = null , $ bind = array ( ) ) { if ( ! empty ( $ bind ) ) { $ this -> bind ( $ bind ) ; } $ stmt = $ this -> _adapter -> query ( $ this ) ; if ( $ fetchMode == null ) { $ fetchMode = $ this -> _adapter -> getFetchMode ( ) ; } $ stmt -> setFetchMode ( $ fetchMode ) ; return $ stmt ; }
docstring: Executes the current select object and returns the result
  
  @param integer $fetchMode OPTIONAL
  @param  mixed  $bind An array of data to bind to the placeholders.
  @return PDO_Statement|Zend_Db_Statement
docstring_tokens: Executes the current select object and returns the result