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

Method constructor

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

Source from the content-addressed store, hash-verified

580 }
581
582 constructor(db: SqliteDatabase) {
583 this.db = db;
584 // Detect FTS5 availability once (#1532)
585 try {
586 db.prepare("SELECT * FROM nodes_fts LIMIT 0").get();
587 this._fts5Available = true;
588 } catch {
589 this._fts5Available = false;
590 }
591 }
592
593 /**
594 * 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