Skip to main content

Crate mdql_core

Crate mdql_core 

Source

Modules§

api
Object-oriented API for MDQL databases and tables.
cascade
CASCADE and RESTRICT delete: FK-aware deletion with BFS graph walk.
checksums
Sidecar checksum file for tamper detection.
database
Load and validate database-level _mdql.md files (type: database).
errors
executor
Unified SQL execution — single entry point for CLI, REPL, and web server.
loader
Orchestrate loading a table folder into validated rows.
model
Convert parsed files to normalized row dicts.
parser
Parse markdown files into structured representations.
projector
Format query/inspect results for output.
query_engine
Execute parsed queries over in-memory rows.
query_parser
Hand-written recursive descent parser for the MDQL SQL subset.
schema
Load and validate table-level _mdql.md files (type: schema).
stamp
Auto-manage created/modified timestamps in frontmatter.
txn
Process-level ACID primitives for MDQL.
validator
Validate parsed markdown files against a schema.
watcher
Filesystem watcher that detects FK violations when files change on disk.