MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / getDb

Function getDb

cli/internal/dal/init.go:29–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27)
28
29func getDb() *sql.DB {
30 dbInit()
31
32 db, err := connection()
33 common.CheckError(err)
34
35 return db
36}
37
38// 创建数据库表
39func createDataTables() {

Callers 13

GetK8sInfoListFunction · 0.85
RemoveK8sFunction · 0.85
InsertOrUpdateK8sInfoFunction · 0.85
GetK8sInfoFunction · 0.85
InsertOrUpdateWorkspaceFunction · 0.85
GetWorkspaceListFunction · 0.85
GetSingleWorkspaceFunction · 0.85
RemoveWorkspaceFunction · 0.85
GetRemoteListFunction · 0.85
RemoveRemoteFunction · 0.85
InsertOrUpdateRemoteFunction · 0.85

Calls 2

dbInitFunction · 0.85
connectionFunction · 0.85

Tested by

no test coverage detected