Files
marqdo/examples/web-net-site-zh/db/index.mq.md
T
cflmyandCursor 7645dd4c1f Extend network stack: session/auth, WebSocket, cookie/multipart primitives
Add the network-extension wave to lib/net and the web ABI plugin:
- lib/net cookie_parse / multipart_parse host primitives (EN/ZH)
- plugins/web session store + /admin login gate + WebSocket client/server
- ext/web author surface (EN/ZH) for session, auth, ws
- form update flow and page-level validation echo tests
- fix string escapes: \xHH, \u{...}, unknown escapes kept verbatim
- map Chinese component slots (导航/侧栏/页脚) so sidebar renders
- resolve relative static/db paths against the entry script dir (entry_dir)
- new tutorial chapter 14, EN/ZH example sites, and gold tests

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 14:58:46 +08:00

459 B


title: db/index description: 打开 sqlite、建表、幂等种子。 导入 网页:ext/web/网页.mq.md import articles:articles.mq.md

打开

store = > 网页.数据库 地址="sqlite:data/site-net-zh.db" 字段 = > articles.结构

store.初始化 名=articles 字段=字段 行 = > store.查询 表="articles" 上限=1

  1. 行 store

种子 = > articles.种子

store.插入 表=articles 行=种子 store