$sql->validateColumn()
Validates a given column name in a table
$sql->validateColumn(string $table, string $column): boolParameters
| Name | Type | Default | 
|---|---|---|
| $table * | string | – | 
| $column * | string | – | 
Return type
bool
Exceptions
| Type | Description | 
|---|---|
| Kirby\Exception\InvalidArgumentException | If the column is invalid |