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>
555 B
555 B
title: web db cross-module smoke description: Return a web.db handle from an imported module and call select in the entry module. import web:ext/web/web.mq.md import plugin:lib/plugin.mq.md import sys:lib/sys.mq.md import storemod:web-db-cross-module-lib.mq.md
main
p = > plugin.native_path name="web"
p
plugin.load path=
p
sys.exit code=1
store = > storemod.open
rows = > store.select table="items" limit=10
n = > len value=rows
n>= 1
print text=cross-db-ok
print text=cross-db-fail