$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 | |
| $columnrequired | string |
no default value | |
| $enforceQualified | bool |
false
|
If true, a qualified identifier is returned in all cases |
Return types
stringornull
Identifier or null if the table or column is invalid