Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bewcloud/bewcloud
/ disconnectFromPostgres
Method
disconnectFromPostgres
lib/interfaces/database.ts:91–99 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
89
}
90
91
protected
async
disconnectFromPostgres() {
92
if
(!this.db) {
93
return
;
94
}
95
96
await
this.db.end();
97
98
this.db = undefined;
99
}
100
101
public close() {
102
this.disconnectFromPostgres();
Callers
1
close
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected