MCPcopy Create free account
hub / github.com/bytebase/dbhub / disconnect

Method disconnect

src/connectors/sqlserver/index.ts:206–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204 }
205
206 async disconnect(): Promise<void> {
207 if (this.connection) {
208 await this.connection.close();
209 this.connection = undefined;
210 }
211 }
212
213 async getSchemas(): Promise<string[]> {
214 if (!this.connection) {

Callers

nothing calls this directly

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected