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

Tells which values are table constraints, and checks the element lists of typed tables and partitions.

Rule: PG-TABLE-CONSTRAINTS-001. A table constraint is one of the ConstraintElem forms: CHECK, UNIQUE, PRIMARY KEY (with columns or USING INDEX), EXCLUDE and FOREIGN KEY. The elements of a typed table or a partition are column options and table constraints. Source: https://www.postgresql.org/docs/17/sql-createtable.html. Status: Implemented.

Methods§

Private surface 1§

Implementation details, listed for orientation only.

private const CLASSES = [\SqlSemantics\Platform\PostgreSql\Statement\Constraint\Table\TableCheck::class…

Test cases 2§

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

Dedicated tests 2

Relations§

Instantiated in 4
Method calls 4