Skip to content

Interface: PostgresRulesSourceNode ​

Defined in: core/dist/ast/domain/postgres-rules-source-node.d.ts:9

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 ​

PropertyModifierTypeDescriptionInherited fromDefined in
__dataType?readonlyBivariantCallback<[data: readonly object[]], void>Phantom type brand preserving the resolved content type T.BaseSourceASTNode.__dataTypecore/dist/ast/base/base-source-ast-node.d.ts:17
idreadonlystringLogical identifier of the source descriptor.BaseSourceASTNode.idcore/dist/ast/base/base-source-ast-node.d.ts:15
tablereadonlystringRelational table name storing (id, directive) rows.-core/dist/ast/domain/postgres-rules-source-node.d.ts:16
typereadonly"postgres:global-rules"Unique string-literal discriminant of the source node.BaseSourceASTNode.typecore/dist/ast/base/base-source-ast-node.d.ts:13
urireadonlystring | EnvRefPostgreSQL connection URI or symbolic EnvRef.-core/dist/ast/domain/postgres-rules-source-node.d.ts:14

Released under the MIT License.