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

Method ListViewNames

backend/store/model/database.go:470–478  ·  view source on GitHub ↗

ListViewNames lists the view names.

()

Source from the content-addressed store, hash-verified

468
469// ListViewNames lists the view names.
470func (s *SchemaMetadata) ListViewNames() []string {
471 var result []string
472 for _, view := range s.internalViews {
473 result = append(result, view.GetName())
474 }
475
476 slices.Sort(result)
477 return result
478}
479
480// ListForeignTableNames lists the foreign table names.
481func (s *SchemaMetadata) ListForeignTableNames() []string {

Callers 15

loadCatalogMetadataFunction · 0.80
tableColumnsMethod · 0.80
buildCompletionCatalogFunction · 0.80
listViewsMethod · 0.80
findTableSchemaMethod · 0.80
listViewsMethod · 0.80
listViewsMethod · 0.80
tableColumnsMethod · 0.80
loadDatabaseObjectsFunction · 0.80
existsTableMetadataMethod · 0.80
findTableSchemaMethod · 0.80
insertMetadataViewsMethod · 0.80

Calls 1

GetNameMethod · 0.45

Tested by

no test coverage detected