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

Method toSlice

backend/plugin/parser/plsql/completion.go:178–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176}
177
178func (m CompletionMap) toSlice() []base.Candidate {
179 var result []base.Candidate
180 for _, candidate := range m {
181 result = append(result, candidate)
182 }
183 slices.SortFunc(result, compareCandidates)
184 return result
185}
186
187var oracleQuerySceneStartKeywords = map[string]bool{
188 "EXPLAIN": true,

Callers 1

convertCandidatesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected