Expand description
Typed AST for NodeDB-specific DDL statements.
Every DDL command the system supports is represented as a variant
of NodedbStatement. The DDL router matches on this enum
instead of string prefixes, so the compiler catches missing
handlers when a new DDL is added.
The parser ([parse]) converts raw SQL into a NodedbStatement
using whitespace-split token matching — the same technique the
old string-prefix router used, but producing a typed output.
Re-exports§
pub use parse::parse;pub use statement::GraphDirection;pub use statement::GraphProperties;pub use statement::NodedbStatement;
Modules§
- graph_
parse - Typed parsing for the graph DSL (
GRAPH ...,MATCH ...). - parse
- Parse raw SQL into a
NodedbStatement. - statement
- The
NodedbStatementenum — one variant per DDL command.