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
Get the type tag (variant key) of an Expression at runtime.
const expr = parse("SELECT 1")[0];getExprType(expr) // => "select" Copy
const expr = parse("SELECT 1")[0];getExprType(expr) // => "select"
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).