MCPcopy Create free account
hub / github.com/effect-app/libs / query

Function query

packages/infra/test/sql-store.test.ts:9–10  ·  view source on GitHub ↗
(db: Sqlite.Database, sql: string, params: unknown[] = [])

Source from the content-addressed store, hash-verified

7import { makeETag } from "../src/Store/utils.js"
8
9const query = (db: Sqlite.Database, sql: string, params: unknown[] = []) =>
10 db.prepare(sql).all(...params as any[]) as any[]
11
12// --- Query builder unit tests ---
13

Callers 4

sql-store.test.tsFile · 0.70
query-span.test.tsFile · 0.50
streamQuery_Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…