Expand description
Core types for the sql-composer template AST.
Structs§
- Binding
- A parameter binding parsed from
:bind(name ...). - Command
- An aggregate command parsed from
:count(...)or:union(...). - Compose
Ref - A compose reference parsed from
:compose(target, @slot = path, ...). - Slot
Assignment - A slot assignment:
@name = path. - Template
- A parsed template consisting of a sequence of literal SQL and macro invocations.
Enums§
- Command
Kind - The kind of aggregate command.
- Compose
Target - What a
:compose(...)target refers to. - Dialect
- Target database dialect for placeholder syntax.
- Element
- A single element in a template.
- Template
Source - The origin of a template.