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

Method insertFunctions

backend/plugin/parser/mysql/completion.go:221–228  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

219}
220
221func (m CompletionMap) insertFunctions() {
222 for _, name := range getMySQLBuiltinFunctions() {
223 m.Insert(base.Candidate{
224 Type: base.CandidateTypeFunction,
225 Text: name + "()",
226 })
227 }
228}
229
230func (m CompletionMap) insertDatabases(c *Completer) {
231 for _, database := range c.listAllDatabases() {

Callers 1

convertCandidatesMethod · 0.45

Calls 2

InsertMethod · 0.95
getMySQLBuiltinFunctionsFunction · 0.85

Tested by

no test coverage detected