classRefreshCollationVersion
final class RefreshCollationVersion
implements Statement
uses Snapshot
Public API: explicitly declared with
@visibility public.A request to record the current version of a collation: ALTER COLLATION name REFRESH VERSION.
Rule: PG-COLLATION-001. Mirrors AlterCollationStmt. Source: https://www.postgresql.org/docs/17/sql-altercollation.html. Status: Implemented.
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('ALTER COLLATION "de_DE" REFRESH VERSION');
$operation->statement->name->last()->value // => 'de_DE'Properties§
public DottedName $nameMethods§
public function __construct(public DottedName $name)Parameters
$name | DottedName | The collation name |
public function deriveStatement(Derivation $derivation): voidDerives nothing: collations are not part of a declaration context.
Parameters
$derivation | Derivation |
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.