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
Expose prepare() / PreparedQuery through the UniFFI-based bindings.
Context
Prepared statements require a stateful handle and bind-slot substitution across the FFI boundary. The design was deferred until the basic FFI API had proven stable.
Acceptance criteria
Add a stable FFI handle for prepared queries.
Support the existing bind value types exposed by Rust prepared statements.
Add FFI tests covering repeated execution with different bindings.
Spec docs/superpowers/specs/2026-10-24-prepared-query-ffi-design.md, plan docs/superpowers/plans/2026-10-24-181-prepared-ffi.md. Follow-ups filed: minigraf-node#17, minigraf-c#10 (an open cursor or fact log keeps the file registered across close()). The binding pins stay at 5f2ba46e until #316's binding work adds a set value form.
Activity
fix(api): revert QueryResult tuple variants for 1.x compat; add curre…
docs(roadmap): record v2.0 file-format policy and wave completion status
docs(roadmap): move v3.0.0-milestone features into v3.0.0 scope (#733)
docs(spec): #181 review: parse once, plan per execution; #306 codes
Merge pull request #737 from project-minigraf/design/181-prepared-ffi
feat(prepared): bind mistakes are API-022/023/024; Entity and Val(Ref…
feat(browser): BrowserDb.prepare and BrowserPreparedQuery (#181)
docs: #181 core — CHANGELOG, ROADMAP, CLAUDE.md, test coverage
fix(browser): typed null and anyValidTime take no value; API-024 test (…
Merge pull request #738 from project-minigraf/feat/181-prepared-core
Merge origin/v3 into feat/316-set-values
Merge pull request #742 from project-minigraf/docs/181-done
adityamukho commentedon Oct 24, 2026
Done on
v3, in every binding:BrowserDb.prepare: feat: prepared-query core for the bindings — API-022/023/024, Entity≡Val(Ref), BrowserDb.prepare (#181) #738 (API-022/023/024,Entity≡Val(Ref))Spec
docs/superpowers/specs/2026-10-24-prepared-query-ffi-design.md, plandocs/superpowers/plans/2026-10-24-181-prepared-ffi.md. Follow-ups filed: minigraf-node#17, minigraf-c#10 (an open cursor or fact log keeps the file registered acrossclose()). The binding pins stay at5f2ba46euntil #316's binding work adds a set value form.Merge origin/v3 into feat/306-limit-op
test(prepared): :limit slot mistakes are API-022/API-024 (#181)