Skip to content

Kirby 3.9.8

$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