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 alter_ops::AlterCollectionOp;pub use alter_ops::AlterRoleOp;pub use alter_ops::AlterUserOp;pub use alter_ops::ConflictPolicyKind;pub use alter_ops::ConstraintKindKeyword;pub use collection_type::build_collection_type;pub use graph_parse::FusionParams;pub use graph_parse::parse_search_using_fusion;pub use graph_types::GraphDirection;pub use graph_types::GraphProperties;pub use parse::parse;pub use statement::AlterDatabaseOperation;pub use statement::AlterTenantOperation;pub use statement::CloneAsOf;pub use statement::NodedbStatement;pub use statement::OidcClaimMappingClause;
Modules§
- alter_
ops - Typed sub-operations for
ALTER COLLECTION,ALTER USER, andALTER ROLE. - collection_
type - Engine-name →
CollectionTypemapping forCREATE COLLECTION/CREATE TABLEDDL. - graph_
parse - Typed parsing for the graph DSL (
GRAPH ...,MATCH ...). - graph_
types - Graph DSL types used in
NodedbStatementgraph variants. - parse
- statement
- The
NodedbStatementenum — one variant per DDL command.
Structs§
- Quota
Spec - Partial quota update from
SET QUOTA (...)DDL.
Enums§
- Mirror
Mode - Replication mode for a mirror database.
- Mirror
Status - Lifecycle status of a mirror database.