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

Method ListSchemaNames

backend/store/model/database.go:255–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253}
254
255func (d *DatabaseMetadata) ListSchemaNames() []string {
256 var result []string
257 for _, schema := range d.internal {
258 result = append(result, schema.GetProto().Name)
259 }
260 return result
261}
262
263func (d *DatabaseMetadata) GetLinkedDatabase(name string) *storepb.LinkedDatabaseMetadata {
264 nameID := normalizeNameByCaseSensitivity(name, d.isObjectCaseSensitive)

Callers 15

buildCatalogFunction · 0.80
loadCatalogMetadataFunction · 0.80
tableColumnsMethod · 0.80
buildCompletionCatalogFunction · 0.80
insertAllColumnsMethod · 0.80
insertAllColumnsMethod · 0.80
listAllSchemasMethod · 0.80
expandSelectAsteriskMethod · 0.80
findTableSchemaMethod · 0.80
insertMetadataSchemasMethod · 0.80
insertAllColumnsMethod · 0.80
insertMetadataColumnsMethod · 0.80

Calls 1

GetProtoMethod · 0.45

Tested by

no test coverage detected