mq-db 0.1.8

Markdown-specialized embedded database with interval-indexed block storage and hierarchical query support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# Reference

Technical reference for the SQL surface and the on-disk/in-memory data model.

- [Virtual Schema]sql-schema.md — the `documents` and `blocks` tables
- [Built-in Functions]sql-functions.md — mq-db-specific, string, numeric, null-handling, and aggregate functions
- [DDL Statements]sql-ddl.md`CREATE TABLE`, `INSERT INTO`, `DROP TABLE`, and friends
- [Example Queries]sql-examples.md — hierarchy extraction, structural lint, and mixed mq/SQL queries
- [Block Model]block-model.md — the `Block` struct and per-type properties
- [Index Layers]index-layers.md — zone maps, the interval index, and secondary indexes
- [Storage Format]storage-format.md — the on-disk page-file layout

For mq language syntax itself (selectors, control flow, pattern matching, …), see the [mq documentation](https://mqlang.org/book/).