Migrate remaining .mq.md (tests/ext/public/examples), stop elevating local assigns to params, inject form_target in Go libweb, and skip live LLM gold without a real key. Co-authored-by: Cursor <cursoragent@cursor.com>
773 B
773 B
title: web entry-dir relative path smoke description: Relative db path resolves against the entry script dir, not cwd. import web:ext/web/web.mq.md
main
store = > web.db url="sqlite:entrydir-fixtures/data/entrydir.db"
schema =
| 字段 | 类型 |
|---|---|
| title | text |
store.init name=items fields=schema
one =
| 行 | title |
|---|---|
| 1 | hello |
store.insert table=items rows=one
rows = > store.select table="items" limit=10
n = > len value=rows
n== 1
print text=entrydir-db-ok
print text=entrydir-db-fail