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

Method Insert

backend/plugin/parser/pg/completion.go:271–273  ·  view source on GitHub ↗
(entry base.Candidate)

Source from the content-addressed store, hash-verified

269type CompletionMap map[string]base.Candidate
270
271func (m CompletionMap) Insert(entry base.Candidate) {
272 m[entry.String()] = entry
273}
274
275func (m CompletionMap) insertFunctions() {
276 for _, name := range getBuiltinFunctions() {

Callers 8

insertFunctionsMethod · 0.95
insertSchemasMethod · 0.95
insertViewsWithPrefixMethod · 0.95
insertColumnsMethod · 0.95
insertAllColumnsMethod · 0.95
convertCandidatesMethod · 0.45

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected