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

Method insertFunctions

backend/plugin/parser/pg/completion.go:275–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

273}
274
275func (m CompletionMap) insertFunctions() {
276 for _, name := range getBuiltinFunctions() {
277 m.Insert(base.Candidate{
278 Type: base.CandidateTypeFunction,
279 Text: name + "()",
280 })
281 }
282}
283
284func (m CompletionMap) insertSchemas(c *Completer) {
285 // Skip if user has specified the schema.

Callers 1

convertCandidatesMethod · 0.45

Calls 2

InsertMethod · 0.95
getBuiltinFunctionsFunction · 0.85

Tested by

no test coverage detected