MCPcopy Create free account
hub / github.com/CaviraOSS/PageLM / all

Method all

backend/src/utils/database/sqlite.ts:29–36  ·  view source on GitHub ↗
(sql: string, params: any[] = [])

Source from the content-addressed store, hash-verified

27 }
28
29 async all(sql: string, params: any[] = []): Promise<any[]> {
30 return new Promise((resolve, reject) => {
31 this.db.all(sql, params, (err, rows) => {
32 if (err) reject(err)
33 else resolve(rows || [])
34 })
35 })
36 }
37
38 close(): Promise<void> {
39 return new Promise((resolve, reject) => {

Callers 4

clearBagFunction · 0.80
clearAllFunction · 0.80
emitLargeFunction · 0.80
sdkFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected