MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / delete

Method delete

outdated/gemini/gemini.ts:120–128  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

118 }
119
120 static delete(key: string): void {
121 this.init();
122 try {
123 const stmt = this.db.prepare("DELETE FROM config WHERE key = ?");
124 stmt.run(key);
125 } catch (error) {
126 console.error("删除配置失败:", error);
127 }
128 }
129
130 static close(): void {
131 if (this.db) {

Callers 5

handleSearchFunction · 0.45
handleImageFunction · 0.45
processAudioGenerationFunction · 0.45
handleQuestionWithAudioFunction · 0.45
handleGeminiRequestFunction · 0.45

Calls 3

initMethod · 0.95
runMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected