MCPcopy Index your code
hub / github.com/bytebase/bytebase / GetDB

Method GetDB

backend/store/store.go:113–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111}
112
113func (s *Store) GetDB() *sql.DB {
114 return s.dbConnManager.GetDB()
115}
116
117// DeleteCache deletes the cache.
118func (s *Store) DeleteCache() {

Callers 15

CreateReleaseMethod · 0.95
ListReleasesMethod · 0.95
UpdateReleaseMethod · 0.95
ListReleaseCategoriesMethod · 0.95
CreateChangelogMethod · 0.95
UpdateChangelogMethod · 0.95
ListChangelogsMethod · 0.95
getWorkspaceMethod · 0.95
GetWorkspaceByIDMethod · 0.95
CreateWorkspaceMethod · 0.95
UpdateWorkspaceMethod · 0.95
DeleteWorkspaceMethod · 0.95

Calls 1

GetDBMethod · 0.65

Tested by

no test coverage detected