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

Method ListSequenceNames

backend/store/model/database.go:503–511  ·  view source on GitHub ↗

ListSequenceNames lists the sequence names.

()

Source from the content-addressed store, hash-verified

501
502// ListSequenceNames lists the sequence names.
503func (s *SchemaMetadata) ListSequenceNames() []string {
504 var result []string
505 for _, sequence := range s.internalSequences {
506 result = append(result, sequence.GetName())
507 }
508
509 slices.Sort(result)
510 return result
511}
512
513// CreateTable creates a new table in the schema.
514// Returns the created TableMetadata or an error if the table already exists.

Callers 4

buildCompletionCatalogFunction · 0.80
listSequencesMethod · 0.80
listSequencesMethod · 0.80

Calls 1

GetNameMethod · 0.45

Tested by

no test coverage detected