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

Method getDb

src/db/index.ts:358–360  ·  view source on GitHub ↗

* Get the underlying database instance

()

Source from the content-addressed store, hash-verified

356 * Get the underlying database instance
357 */
358 getDb(): SqliteDatabase {
359 return this.db;
360 }
361
362 /**
363 * Get the SQLite backend serving this connection. Per-instance so

Callers 15

reopenIfReplacedMethod · 0.80
initMethod · 0.80
initSyncMethod · 0.80
openMethod · 0.80
recreateMethod · 0.80
openSyncMethod · 0.80
indexAllMethod · 0.80
security.test.tsFile · 0.80
db-perf.test.tsFile · 0.80
edgeCountFunction · 0.80

Calls

no outgoing calls

Tested by 3

edgeCountFunction · 0.64
writeRowsFunction · 0.64
seedPendingRefsFunction · 0.64