final class AlterDatabaseSetting
    implements Statement
    uses Snapshot
Public API: explicitly declared with @visibility public.

A request to set or reset the default of a configuration parameter for a database.

Rule: PG-ALTERDB-004. Mirrors AlterDatabaseSetStmt: a database name and the SET or RESET request of the utility family, which is derived as the request it is. Source: https://www.postgresql.org/docs/17/sql-alterdatabase.html. Status: Implemented.

Telling that the request is a statement of its owndoctest
is_subclass_of(\SqlSemantics\Platform\PostgreSql\Statement\Catalog\Database\AlterDatabaseSetting::class, \SqlSemantics\Platform\PostgreSql\Model\Statement\Statement::class) // => true

Properties§

public Name $name
public Statement $setting

Methods§

public function __construct(public Name $name, public Statement $setting)

Parameters

$nameNameThe database name
$settingStatementThe SET or RESET request
public function deriveStatement(Derivation $derivation): void

Derives the SET or RESET request.

Parameters

$derivationDerivation
Test cases 1
Calls 1
public function render(Output $out): void

Writes the request.

Parameters

$outOutput
Test cases 1
Calls 2

Test cases 2§

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

Dedicated tests 2

Relations§

Instantiated in 1