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

Method ListTableNames

backend/store/model/database.go:448–456  ·  view source on GitHub ↗

ListTableNames lists the table names.

()

Source from the content-addressed store, hash-verified

446
447// ListTableNames lists the table names.
448func (s *SchemaMetadata) ListTableNames() []string {
449 var result []string
450 for _, table := range s.internalTables {
451 result = append(result, table.GetProto().GetName())
452 }
453
454 slices.Sort(result)
455 return result
456}
457
458// ListProcedureNames lists the procedure names.
459func (s *SchemaMetadata) ListProcedureNames() []string {

Callers 15

buildCatalogFunction · 0.80
loadCatalogMetadataFunction · 0.80
tableColumnsMethod · 0.80
buildCompletionCatalogFunction · 0.80
classifyColumnsFunction · 0.80
insertAllColumnsMethod · 0.80
listTablesMethod · 0.80
findTableSchemaMethod · 0.80
insertAllColumnsMethod · 0.80
listTablesMethod · 0.80
CompletionFunction · 0.80
addColumnCandidatesFunction · 0.80

Calls 2

GetNameMethod · 0.45
GetProtoMethod · 0.45

Tested by

no test coverage detected