Contao\Database\Result::fetchField PHP Method

fetchField() public method

Get the column information and return it as array
public fetchField ( integer $intOffset ) : array
$intOffset integer The field offset
return array An array with the column information
    public function fetchField($intOffset = 0)
    {
        $arrFields = array_values($this->resultSet[$this->intIndex]);
        return $arrFields[$intOffset];
    }