enum DefaultSetting: string
    implements OptionArgument
Public API: explicitly declared with @visibility public.

The keyword DEFAULT written as the value of a database option: the option takes its default.

Source: https://www.postgresql.org/docs/17/sql-createdatabase.html.

Reading the value of an option set to its defaultdoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('CREATE DATABASE d TEMPLATE DEFAULT');
    $operation->statement->options[0]->value // => \SqlSemantics\Platform\PostgreSql\Statement\Catalog\Database\DefaultSetting::Default

Cases§

case Default = 'DEFAULT'

Methods§

public function deriveClause(Derivation $derivation, Environment $environment): void

Derives nothing: a keyword holds no expression.

Parameters

$derivationDerivation
$environmentEnvironment
public function render(Output $out): void

Writes the keyword.

Parameters

$outOutput
Calls 1

Test cases 2§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 1

Relations§

Constant reads 1