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

Method ListMaterializedViewNames

backend/store/model/database.go:492–500  ·  view source on GitHub ↗

ListMaterializedViewNames lists the materialized view names.

()

Source from the content-addressed store, hash-verified

490
491// ListMaterializedViewNames lists the materialized view names.
492func (s *SchemaMetadata) ListMaterializedViewNames() []string {
493 var result []string
494 for _, view := range s.internalMaterializedView {
495 result = append(result, view.GetName())
496 }
497
498 slices.Sort(result)
499 return result
500}
501
502// ListSequenceNames lists the sequence names.
503func (s *SchemaMetadata) ListSequenceNames() []string {

Callers 6

buildCompletionCatalogFunction · 0.80
insertAllColumnsMethod · 0.80
listMaterializedViewsMethod · 0.80
insertMetadataViewsMethod · 0.80
addNewSchemaObjectsFunction · 0.80
compareMaterializedViewsFunction · 0.80

Calls 1

GetNameMethod · 0.45

Tested by

no test coverage detected