You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(sqlite): json_each/json_tree as table-valued Srf methods
SQLite's SRFs (eponymous virtual tables) ride the same emitter path
PG's set-returning functions already use: isSrf + outColumns facts →
runtime.Srf methods with the fixed row shape. json_each and json_tree
land on Text and Blob (per-receiver overloads, optional jsonpath arg —
omitted optionals filter out before arg splicing), usable as
db.from(text.jsonEach()).
Verifier grows SRF-aware checks: existence probes in FROM position
(they're not in pragma_function_list), exact projected-column-list
claims, and per-row storage-class checks for concretely-typed columns
across seeded args. Extraction prompt documents the isSrf/outColumns
rule. generate_series stays out — the series extension isn't compiled
into better-sqlite3's build.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments