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

Function all

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

Source from the content-addressed store, hash-verified

62 return undefined
63 },
64 all(...args: unknown[]) {
65 for (const [pattern, handler] of Object.entries(handlers)) {
66 if (sql.includes(pattern)) {
67 const result = handler(args)
68 return Array.isArray(result) ? result : [result]
69 }
70 }
71 return []
72 },
73 run() {
74 return { changes: 0, lastInsertRowid: 0 }
75 },

Callers

nothing calls this directly

Calls 1

handlerFunction · 0.50

Tested by

no test coverage detected