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

Lowers the optional keywords of the catalog family.

Rule: PG-CATALOG-FLAG-001. Scope: opt_if_exists, opt_if_not_exists, opt_trusted. A flag is whether its keywords are written; each is significant. Source: https://www.postgresql.org/docs/17/sql-dropcast.html, https://www.postgresql.org/docs/17/sql-altertype.html, https://www.postgresql.org/docs/17/sql-createlanguage.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe hub

Private surface 2§

Implementation details, listed for orientation only.

private const PRESENT = ['opt_if_exists: IF_P EXISTS' => true, 'opt_if_exists:' => false, 'opt_if_not_e…
private Lowering $lowering

Test cases 1§

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

Dedicated tests 1

Relations§

Instantiated in 4
Method calls 7