From 83cd529c660872f4e3a502cace62cd72a739ff05 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 1 Nov 2026 21:09:24 +0000 Subject: Extract Relation type --- hobgoblin/src/ast/typed.hob | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'hobgoblin/src') diff --git a/hobgoblin/src/ast/typed.hob b/hobgoblin/src/ast/typed.hob index 7959f0b..6343024 100644 --- a/hobgoblin/src/ast/typed.hob +++ b/hobgoblin/src/ast/typed.hob @@ -59,7 +59,7 @@ struct TypedNativeTypeDefinitionNode { struct TypedQueryDefinitionNode { field name: String; - field table: Table; + field relation: Relation; field docComment: DocComment; field source: Source; } @@ -103,3 +103,13 @@ struct TypedTableDefinitionNode { field docComment: DocComment; field source: Source; } + +// == Queries == + +sum Relation { + variant RelationTable; +} + +struct RelationTable { + field table: Table; +} -- cgit v1.2.3