Files
marqdo/examples/web-site/db/index.mq.md
T
cflmyandCursor 9599303c4c Rewrite ext/web around tables and class methods.
Drop bag/scaffold glue and rebuild the web plugin for compose, SQLite CRUD, and listen, with call_lib_path support and a §4 English site sample.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 15:06:39 +08:00

446 B


title: db/index description: Open sqlite, init articles, seed once.

ext/web/web.mq.md articles.mq.md as articles lib/fs.mq.md


open

*store = > web.db url="sqlite:data/site.db" * *fields = > articles.schema *

store.init name=articles fields=fields *rows = > store.select table=articles limit=1 *

  1. rows store

*seed = > articles.seed *

store.insert table=articles rows=seed store