MCPcopy
hub / github.com/pickle-com/glass / getDb

Method getDb

src/features/common/services/sqliteClient.js:29–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 }
28
29 getDb() {
30 if (!this.db) {
31 throw new Error("Database not connected. Call connect() first.");
32 }
33 return this.db;
34 }
35
36 _validateAndQuoteIdentifier(identifier) {
37 if (!/^[a-zA-Z0-9_]+$/.test(identifier)) {

Callers 15

getPresetsFunction · 0.80
getPresetTemplatesFunction · 0.80
createPresetFunction · 0.80
updatePresetFunction · 0.80
deletePresetFunction · 0.80
getAutoUpdateFunction · 0.80
setAutoUpdateFunction · 0.80
addAiMessageFunction · 0.80
saveSummaryFunction · 0.80
getSummaryBySessionIdFunction · 0.80
addTranscriptFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected