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

Function get

packages/core/src/query/__tests__/session-queries.test.ts:56–63  ·  view source on GitHub ↗
(...args: unknown[])

Source from the content-addressed store, hash-verified

54 prepare(sql: string) {
55 return {
56 get(...args: unknown[]) {
57 for (const [pattern, handler] of Object.entries(handlers)) {
58 if (sql.includes(pattern)) {
59 return handler(args)
60 }
61 }
62 return undefined
63 },
64 all(...args: unknown[]) {
65 for (const [pattern, handler] of Object.entries(handlers)) {
66 if (sql.includes(pattern)) {

Callers

nothing calls this directly

Calls 1

handlerFunction · 0.50

Tested by

no test coverage detected