Interface: PostgresRulesSourceNode
Defined in: ast/domain/postgres-rules-source-node.ts:10
Passive AST node loading global rules from a PostgreSQL table (postgres.globalRules).
Queries ordered (id, directive) rows from table in the PostgreSQL database at uri when compiling prefix groups or Turn-0 rule context.
Extends
BaseSourceASTNode<"postgres:global-rules",ReadonlyArray<{directive:string;id:string; }>>
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
__dataType? | readonly | BivariantCallback<[data: readonly object[]], void> | Phantom type brand preserving the resolved content type T. | BaseSourceASTNode.__dataType | ast/base/base-source-ast-node.ts:18 |
id | readonly | string | Logical identifier of the source descriptor. | BaseSourceASTNode.id | ast/base/base-source-ast-node.ts:16 |
table | readonly | string | Relational table name storing (id, directive) rows. | - | ast/domain/postgres-rules-source-node.ts:18 |
type | readonly | "postgres:global-rules" | Unique string-literal discriminant of the source node. | BaseSourceASTNode.type | ast/base/base-source-ast-node.ts:14 |
uri | readonly | string | EnvRef | PostgreSQL connection URI or symbolic EnvRef. | - | ast/domain/postgres-rules-source-node.ts:16 |