classIdentityChanges
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>Checks a list of identity changes.
Parameters
$changes | array<array-key, object|scalar|null> |
Returns
non-empty-list<IdentityRestart|IdentitySetting|IdentityGeneration>Test cases 1
Called from 1
Calls 3
- static-call Check::listOf() line 32
- class-const Node::class() line 32
- static-call Check::input() line 33
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.