Files
marqdo/tests/ext/web-data-db-smoke.mq.md
T
cflmyandCursor 687c168014 feat(parse): use nested YAML import: maps instead of one-liner binds
Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target
entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the
old one-liner form, and migrate lib/ext/examples/tests/docs accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 19:33:58 +08:00

582 B

title, description, import
title description import
ext/data db smoke DB Resource lives in ext/data (ADR 0007).
data fs
ext/data/db.mq.md lib/fs.mq.md

main

store = > data.db url="sqlite:web-fixtures/data/artifact-db.db" fields =

字段 类型 可空
title text False
body text True

store.init name=notes fields=fields row =

title body
hello world

store.insert table=notes rows=row got = > store.select table="notes" limit=1

  1. got

print text=db-ok

print text=db-fail