Skip to content

Kirby 3.9.8

$mysql->validateColumn()

Validates a given column name in a table

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

Parameters

Name Type Default
$table * string
$column * string

Return type

bool

Exceptions

Type Description
Kirby\Exception\InvalidArgumentException If the column is invalid

Parent class

Kirby\Database\Sql\Mysql inherited from Kirby\Database\Sql