MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / prepare

Method prepare

packages/core/src/query/__tests__/basic-queries.test.ts:39–41  ·  view source on GitHub ↗
(sql: string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

prepareMethod · 0.65

Tested by

no test coverage detected