public function fetchField($column)
    {
        if ($this->rowCount == 0) {
            throw new Exception('Empty result set');
        }
        $row = $this->current();
        if (!isset($this->columnOids[$column])) {
            throw new Exception("Field '$column' not found");
        }

        return $row[$column];
    }
public function fetchField($column)
    {
        if ($this->rowCount == 0) {
            throw new Exception('Empty result set');
        }
        $row = $this->current();
        if (!isset($this->columnOids[$column])) {
            throw new Exception("Field '$column' not found");
        }

        return $row[$column];
    }
public function fetchField ( $ column ) { if ( $ this -> rowCount == 0 ) { throw new Exception ( 'Empty result set' ) ; } $ row = $ this -> current ( ) ; if ( ! isset ( $ this -> columnOids [ $ column ] ) ) { throw new Exception ( "Field '$column' not found" ) ; } return $ row [ $ column ] ; }
Get field value of the current element

@param $column

@throws Exception
@return null
Get field value of the current element