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

Method constructor

backend/src/utils/database/sqlite.ts:7–9  ·  view source on GitHub ↗
(dbPath: string)

Source from the content-addressed store, hash-verified

5 private db: sqlite3.Database
6
7 constructor(dbPath: string) {
8 this.db = new sqlite3.Database(dbPath)
9 }
10
11 async run(sql: string, params: any[] = []): Promise<sqlite3.RunResult> {
12 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected