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

Function getDatabaseCacheKey

backend/store/store.go:176–178  ·  view source on GitHub ↗
(workspace, instanceID, databaseName string)

Source from the content-addressed store, hash-verified

174}
175
176func getDatabaseCacheKey(workspace, instanceID, databaseName string) string {
177 return fmt.Sprintf("workspaces/%s/%s/%s", workspace, instanceID, databaseName)
178}
179
180func getDBSchemaCacheKey(instanceID, databaseName string) string {
181 return fmt.Sprintf("%s/%s", instanceID, databaseName)

Callers 3

removeDatabaseCacheMethod · 0.85
GetDatabaseMethod · 0.85
ListDatabasesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected