Skip to content

Kirby 4.2.0

$database->validateColumn()

Checks if a column exists in a specified table

$database->validateColumn(string $table, string $column): bool

Parameters

Name Type Default
$table * string
$column * string

Return type

bool

Parent class

Kirby\Database\Database