MCPcopy Create free account
hub / github.com/code-scan/Goal / SqlLogin

Function SqlLogin

Glogin/sql.go:28–35  ·  view source on GitHub ↗
(host, port, username, password, type_ string)

Source from the content-addressed store, hash-verified

26 return db, true
27}
28func SqlLogin(host, port, username, password, type_ string) bool {
29 db, isLogin := login(host, port, username, password, type_)
30 if isLogin {
31 defer db.Close()
32 return true
33 }
34 return false
35}
36func SqlQuery(host, port, username, password, type_, sql string) []interface{} {
37 var result []interface{}
38

Callers

nothing calls this directly

Calls 2

loginFunction · 0.85
CloseMethod · 0.45

Tested by

no test coverage detected