classRefreshDatabaseCollation
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.
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('ALTER DATABASE d REFRESH COLLATION VERSION');
$operation->statement->name->value // => 'd'Properties§
public Name $nameMethods§
public function deriveStatement(Derivation $derivation): voidDerives nothing: a database is not part of a declaration context.
Parameters
$derivation | Derivation |
public function render(Output $out): voidWrites the request.
Parameters
$out | Output |
Calls 2
- method-call Output::keyword() line 48
- class-const NameUse::Column() line 48
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.