public function fetch( $style = MW_DB_Result_Abstract::FETCH_ASSOC )
	{
		try {
			return $this->_statement->fetch( $this->_style[$style] );
		} catch ( PDOException $e ) {
			throw new MW_DB_Exception( $e->getMessage(), $e->getCode(), $e->errorInfo );
		}
	}
public function fetch( $style = MW_DB_Result_Abstract::FETCH_ASSOC )
	{
		try {
			return $this->_statement->fetch( $this->_style[$style] );
		} catch ( PDOException $e ) {
			throw new MW_DB_Exception( $e->getMessage(), $e->getCode(), $e->errorInfo );
		}
	}
public function fetch ( $ style = MW_DB_Result_Abstract :: FETCH_ASSOC ) { try { return $ this -> _statement -> fetch ( $ this -> _style [ $ style ] ) ; } catch ( PDOException $ e ) { throw new MW_DB_Exception ( $ e -> getMessage ( ) , $ e -> getCode ( ) , $ e -> errorInfo ) ; } }
Retrieves the next row from database result set.

@param integer $style The data can be returned as associative or numerical array
@return Array Numeric or associative array of columns returned by the SQL statement
@throws MW_DB_Exception if an error occured in the unterlying driver or the fetch style is unknown
Retrieves the next row from database result set .