enumReplicaIdentityKind
enum ReplicaIdentityKind: string
Public API: explicitly declared with
@visibility public.What identifies a row in logical replication.
Mirrors REPLICA_IDENTITY_NOTHING, FULL, DEFAULT and INDEX. Source: https://www.postgresql.org/docs/17/sql-altertable.html.
(new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('ALTER TABLE t REPLICA IDENTITY FULL')->statement->commands[0]->kind // => \SqlSemantics\Platform\PostgreSql\Statement\Table\Alter\Option\ReplicaIdentityKind::FullCases§
case Nothing = 'NOTHING'case Full = 'FULL'case Default = 'DEFAULT'case Index = 'USING INDEX'Methods§
public function keywords(): list<string>Test cases 3§
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 2
Relations§
Method calls 1
Constant reads 5
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Table\AlterCommandRule::replica() packages/sql-semantics-postgres/src/Lowering/Table/AlterCommandRule.php:307
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Table\AlterCommandRule::replica() packages/sql-semantics-postgres/src/Lowering/Table/AlterCommandRule.php:308
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Table\AlterCommandRule::replica() packages/sql-semantics-postgres/src/Lowering/Table/AlterCommandRule.php:309
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Table\AlterCommandRule::replica() packages/sql-semantics-postgres/src/Lowering/Table/AlterCommandRule.php:310
- class-const SqlSemantics\Platform\PostgreSql\Statement\Table\Alter\Option\ReplicaIdentity::__construct() packages/sql-semantics-postgres/src/Statement/Table/Alter/Option/ReplicaIdentity.php:36