UNPKG

@kuindji/sql-type-parser

Version:
16 lines 967 B
/** * SELECT query parser * * This module provides everything needed to parse SELECT queries: * * - ParseSelectSQL - parses a SELECT query string into an AST * - MatchSelectQuery - matches parsed AST against a schema * - QueryResult - convenience type for parsing and matching in one step * - ValidateSQL - validates a query against a schema * - ValidateSelectSQL - comprehensive validation with options */ export type { ParseSelectSQL } from "./parser.js"; export type { SQLSelectQuery, ColumnRef, LiteralExpr, SubqueryExpr, ExistsExpr, IntervalExpr, ExtendedColumnRefType, SQLConstantExpr, SQLConstantName, SelectClause, SelectItem, SelectColumns, UnionClause, UnionClauseAny, UnionOperatorType, } from "./ast.js"; export type { MatchSelectQuery, MatchError, QueryResult, ValidateQuery, ValidateSQL, DatabaseSchema, } from "./matcher.js"; export type { ValidateSelectSQL, ValidateSelectOptions, } from "./validator.js"; //# sourceMappingURL=index.d.ts.map