final class IdentityChanges
Restricted visibility: declared "@visibility SqlSemantics\Platform\PostgreSql". Code outside that scope must not name this declaration.

Checks the changes of an identity column ALTER COLUMN writes.

Rule: PG-IDENTITY-CHANGES-001. The changes are RESTART, SET with a sequence option, and SET GENERATED, at least one, in the order written. Source: https://www.postgresql.org/docs/17/sql-altertable.html. Status: Implemented.

Methods§

public function checked(array<array-key, object|scalar|null> $changes): non-empty-list<IdentityRestart|IdentitySetting|IdentityGeneration>

Test cases 1§

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

Dedicated tests 1

Relations§

Instantiated in 1
Method calls 1