`import json:lib/json.mq.md` binds file libraries; `import fmt:time.format` binds member short names (replaces `> use`). Legacy `> path.mq.md` / `> use` now hard-error with a hint. Migrates repo docs, skills, ext, lib, public, examples, man-test and tests; adds a negative gold and updates view/catalog rendering. Co-authored-by: Cursor <cursoragent@cursor.com>
466 B
466 B
title: db/index description: 打开 sqlite、建表、幂等种子。 导入 网页:ext/web/网页.mq.md import articles:articles.mq.md
open
*store = > 网页.数据库 地址="sqlite:data/site-zh.db" *
*fields = > articles.schema *
store.初始化 名=articles 字段=fields*rows= >store.查询 表=articles 上限=1 *
rowsstore-
*seed = > articles.seed *
store.插入 表=articles 行=seedstore