final public function sqlField(string $fieldName, string $asFieldName = ''): string
    {
        return $fieldName . (('' !== $asFieldName) ? ' AS ' . $this->sqlFieldEscape($asFieldName) : '');
    }
final public function sqlField(string $fieldName, string $asFieldName = ''): string
    {
        return $fieldName . (('' !== $asFieldName) ? ' AS ' . $this->sqlFieldEscape($asFieldName) : '');
    }
final public function sqlField ( string $ fieldName , string $ asFieldName = '' ) : string { return $ fieldName . ( ( '' !== $ asFieldName ) ? ' AS ' . $ this -> sqlFieldEscape ( $ asFieldName ) : '' ) ; }
Return a field name
Optionaly renames it as an alias.
This function do not escape the field name.

Use example: $dbal->sqlField('COUNT(*)', 'rows'); or $dbal->sqlField('name')

@see self::sqlFieldEscape
@param string $fieldName
@param string $asFieldName
@return string
Return a field name Optionaly renames it as an alias . This function do not escape the field name .