Skip to content

Kirby 3.6.6

$sqlite->columnDefault()

Returns a query snippet for a column default value

$sqlite->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\Sqlite inherited from Kirby\Database\Sql