Skip to content

Kirby 4.4.1

$sql->columnDefault()

Returns a query snippet for a column default value

$sql->columnDefault(string $name, array $column): array

Parameters

Name Type Default Description
$name * string Column name
$column * array Column definition array with an optional default key

Return type

array

Parent class

Kirby\Database\Sql