holocron 0.5.0

Declarative schema & query compiler — one YAML as the source of truth for SQL schema and a type-checked query catalog.
Documentation
1
2
3
4
5
6
7
8
9
10
11
# Should fail: `colums` is a typo for `columns`. The lowering equivalent of
# serde's `deny_unknown_fields` rejects it and lists the keys that ARE allowed.
# Caught by L1 (parse) — exit 1.
#
# Run: cargo run -- samples/error_unknown_key.holocron.yaml

tables:
  - name: tasks
    colums:                       # typo — should be `columns`
      task_id: { type: uuid }
    primary_key: { columns: [task_id] }