$database->validateColumn()
Checks if a column exists in a specified table
$database->validateColumn(string $table, string $column): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $tablerequired | string |
no default value |
| $columnrequired | string |
no default value |
Return type
bool
This method modifies the existing $database object it is applied to and returns it again.