Expand description
SQL frontend for PowDB.
This module intentionally keeps SQL as a frontend: it parses a supported SQL subset, lowers it to PowDB’s existing statement AST, and records the equivalent canonical PowQL text so plan-cache entries are shared with the native PowQL spelling.
Structs§
Functions§
- parse_
sql - parse_
sql_ with_ canonical - split_
statements_ sql - Split SQL input into statements on
;, using SQL’s own lexical rules. - sql_
is_ effectively_ blank - True when
inputcarries no SQL statement for the engine to run: it is empty, whitespace, or nothing but comments.