MCPcopy Create free account
hub / github.com/damms005/devdb-vscode / disconnect

Method disconnect

src/database-engines/postgres-engine.ts:33–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 }
32
33 async disconnect(): Promise<void> {
34 if (this.connection) this.connection.destroy(() => null);
35 }
36
37 async getTableCreationSql(table: string): Promise<string> {
38 if (!this.connection) {

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.80

Tested by

no test coverage detected