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

Method Insert

backend/plugin/parser/mysql/completion.go:217–219  ·  view source on GitHub ↗
(entry base.Candidate)

Source from the content-addressed store, hash-verified

215type CompletionMap map[string]base.Candidate
216
217func (m CompletionMap) Insert(entry base.Candidate) {
218 m[entry.String()] = entry
219}
220
221func (m CompletionMap) insertFunctions() {
222 for _, name := range getMySQLBuiltinFunctions() {

Callers 7

insertFunctionsMethod · 0.95
insertDatabasesMethod · 0.95
insertTablesMethod · 0.95
insertViewsMethod · 0.95
insertColumnsMethod · 0.95
insertAllColumnsMethod · 0.95
convertCandidatesMethod · 0.45

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected