AST Module
This module provides types, type guards, helpers, and visitor utilities for working with SQL AST nodes.
Query builders are in src/builders.ts (WASM-backed).
src/builders.ts
Create an Expression from a variant key and inner data.
const expr = makeExpr('literal', { literal_type: 'number', value: '42' }); Copy
const expr = makeExpr('literal', { literal_type: 'number', value: '42' });
AST Module
This module provides types, type guards, helpers, and visitor utilities for working with SQL AST nodes.
Query builders are in
src/builders.ts(WASM-backed).