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

Lowers the domain commands.

Rule: PG-DOMAIN-LOWER-001. Scope: CreateDomainStmt, AlterDomainStmt, DomainConstraint, DomainConstraintElem. Constructors: CreateDomain, DomainDefaultChange, AlterDomainNotNull, AlterDomainConstraint, DomainCheck, DomainNotNull, DropDomainConstraint, ValidateDomainConstraint. Column qualifiers, table constraints, constraint attributes and defaults are lowered by the table family. The optional AS is noise (LeafNoise). Source: https://www.postgresql.org/docs/17/sql-createdomain.html, https://www.postgresql.org/docs/17/sql-alterdomain.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe hub

Private surface 1§

Implementation details, listed for orientation only.

private Lowering $lowering

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 1
Method calls 1