src/Statement.php
public function fetch()
        {
            try {
                if ($this->values = $this->statement->fetch(\PDO::FETCH_ASSOC)) {
                    return $this->values;
                } else {
                    return false;
                }
            } catch (\PDOException $e) {
                throw new Exception('An error occured while trying to fetch the result: "' . $e->getMessage() . '"');
            }
        }
public function fetch()
        {
            try {
                if ($this->values = $this->statement->fetch(\PDO::FETCH_ASSOC)) {
                    return $this->values;
                } else {
                    return false;
                }
            } catch (\PDOException $e) {
                throw new Exception('An error occured while trying to fetch the result: "' . $e->getMessage() . '"');
            }
        }
public function fetch ( ) { try { if ( $ this -> values = $ this -> statement -> fetch ( \ PDO :: FETCH_ASSOC ) ) { return $ this -> values ; } else { return false ; } } catch ( \ PDOException $ e ) { throw new Exception ( 'An error occured while trying to fetch the result: "' . $ e -> getMessage ( ) . '"' ) ; } }
Fetch the resultset
Fetch the resultset