enum AlterTarget: string
Public API: explicitly declared with @visibility public.

The kind of relation an ALTER command built on AlterTableStmt names.

Mirrors the objtype of AlterTableStmt. Source: https://www.postgresql.org/docs/17/sql-altertable.html.

Reading the kind of altered relationdoctest
(new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('ALTER MATERIALIZED VIEW m SET TABLESPACE s')->statement->target // => \SqlSemantics\Platform\PostgreSql\Statement\Table\Alter\AlterTarget::MaterializedView

Cases§

case Table = 'TABLE'
case Index = 'INDEX'
case Sequence = 'SEQUENCE'
case View = 'VIEW'
case MaterializedView = 'MATERIALIZED VIEW'
case ForeignTable = 'FOREIGN TABLE'

Methods§

Test cases 2§

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 1

Relations§

Method calls 2
Constant reads 26
Type declarations 2