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

Method listViews

backend/plugin/parser/plsql/completion.go:1206–1215  ·  view source on GitHub ↗
(schema string)

Source from the content-addressed store, hash-verified

1204}
1205
1206func (c *Completer) listViews(schema string) []string {
1207 if !c.ensureMetadata(schema) {
1208 return nil
1209 }
1210 schemaMeta := c.metadataCache[schema].GetSchemaMetadata("")
1211 if schemaMeta == nil {
1212 return nil
1213 }
1214 return schemaMeta.ListViewNames()
1215}
1216
1217func (c *Completer) listSequences(schema string) []string {
1218 if !c.ensureMetadata(schema) {

Callers 1

insertViewsMethod · 0.45

Calls 3

ensureMetadataMethod · 0.95
GetSchemaMetadataMethod · 0.80
ListViewNamesMethod · 0.80

Tested by

no test coverage detected