$sql->columnName()
Returns the cleaned identifier based on the table and column name
$sql->columnName(string $table, string $column, bool $enforceQualified = false): string|null
Parameters
Name | Type | Default | Description |
---|---|---|---|
$tablerequired | string |
no default value | Table name |
$columnrequired | string |
no default value | Column name |
$enforceQualified | bool |
false
|
If true, a qualified identifier is returned in all cases |
Return types
string
ornull
Identifier or null if the table or column is invalid