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

Method getDefaultDatabase

backend/api/lsp/handler.go:114–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112}
113
114func (h *Handler) getDefaultDatabase() string {
115 h.mu.Lock()
116 defer h.mu.Unlock()
117 if h.metadata == nil {
118 return ""
119 }
120 return h.metadata.DatabaseName
121}
122
123func (h *Handler) getDefaultSchema() string {
124 h.mu.Lock()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected