Skip to content

Kirby 4.5.0

$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
$table * string Table name
$column * string Column name
$enforceQualified bool false If true, a qualified identifier is returned in all cases

Return type

string|null

Parent class

Kirby\Database\Sql