MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / constructor

Method constructor

src/db/queries.ts:580–589  ·  view source on GitHub ↗
(db: SqliteDatabase)

Source from the content-addressed store, hash-verified

578 }
579
580 constructor(db: SqliteDatabase) {
581 this.db = db;
582 // Detect FTS5 availability once (#1532)
583 try {
584 db.prepare("SELECT * FROM nodes_fts LIMIT 0").get();
585 this._fts5Available = true;
586 } catch {
587 this._fts5Available = false;
588 }
589 }
590
591 /**
592 * Swap the underlying connection in place. Used by pool workers'

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected