MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / prepare

Method prepare

packages/tools/src/providers/core-data-provider.test.ts:40–42  ·  view source on GitHub ↗
(sql: string)

Source from the content-addressed store, hash-verified

38 this.db.exec(sql)
39 }
40 prepare(sql: string) {
41 return new Stmt(this.db.prepare(sql))
42 }
43 transaction<T>(fn: () => T): T {
44 return this.db.transaction(fn)()
45 }

Callers

nothing calls this directly

Calls 1

prepareMethod · 0.65

Tested by

no test coverage detected