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

Method getDb

src/db/index.ts:391–393  ·  view source on GitHub ↗

* Get the underlying database instance

()

Source from the content-addressed store, hash-verified

389 * Get the underlying database instance
390 */
391 getDb(): SqliteDatabase {
392 return this.db;
393 }
394
395 /**
396 * 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