Skip to content

Interface: PostgresGlobalRulesBuilder ​

Defined in: postgres/src/builders/postgres-global-rules-builder.ts:9

Fluent builder for a passive PostgresRulesSourceNode (postgres:global-rules) AST node.

Encapsulates a PostgreSQL connection URI and validated table name from which global rule directives are queried and validated against GlobalRuleSchema at runtime.

Extends ​

Methods ​

toAST() ​

ts
toAST(): PostgresRulesSourceNode;

Defined in: postgres/src/builders/postgres-global-rules-builder.ts:17

Compiles the builder into a frozen PostgresRulesSourceNode AST node.

Returns a deeply immutable descriptor with type: 'postgres:global-rules'.

Returns ​

PostgresRulesSourceNode

Immutable postgres:global-rules source AST node.

Overrides ​

AstBuilder.toAST

Released under the MIT License.