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

A request to record the current collation version of a database: ALTER DATABASE name REFRESH COLLATION VERSION.

Rule: PG-ALTERDB-003. Mirrors AlterDatabaseRefreshCollStmt. Source: https://www.postgresql.org/docs/17/sql-alterdatabase.html. Status: Implemented.

Reading the databasedoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('ALTER DATABASE d REFRESH COLLATION VERSION');
    $operation->statement->name->value // => 'd'

Properties§

public Name $name

Methods§

public function __construct(public Name $name)

Parameters

$nameNameThe database name
public function deriveStatement(Derivation $derivation): void

Derives nothing: a database is not part of a declaration context.

Parameters

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

Writes the request.

Parameters

$outOutput
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 1
Other tests reaching this symbol 1

Relations§

Instantiated in 1