Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/actiontech/dtle
/ CloseDB
Function
CloseDB
driver/mysql/sql/sqlutils.go:397–403 ·
view source on GitHub ↗
(db *gosql.DB)
Source
from the content-addressed store, hash-verified
395
}
396
397
func
CloseDB(db *gosql.DB) error {
398
if
db == nil {
399
return
nil
400
}
401
402
return
db.Close()
403
}
404
405
func
CloseConns(dbs ...*Conn) error {
406
for
_, db :=
range
dbs {
Callers
2
Shutdown
Method · 0.92
Shutdown
Method · 0.92
Calls
1
Close
Method · 0.45
Tested by
no test coverage detected