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

Method insertSequences

backend/plugin/parser/plsql/completion.go:235–244  ·  view source on GitHub ↗
(c *Completer, schemas map[string]bool)

Source from the content-addressed store, hash-verified

233}
234
235func (m CompletionMap) insertSequences(c *Completer, schemas map[string]bool) {
236 for schema := range schemas {
237 for _, seq := range c.listSequences(schema) {
238 m.Insert(base.Candidate{
239 Type: base.CandidateTypeSequence,
240 Text: c.quotedIdentifierIfNeeded(seq),
241 })
242 }
243 }
244}
245
246func (m CompletionMap) insertTables(c *Completer, schemas map[string]bool) {
247 for schema := range schemas {

Calls 3

InsertMethod · 0.95
listSequencesMethod · 0.45

Tested by

no test coverage detected