MCPcopy Create free account
hub / github.com/bytebase/bytebase / isIdentRune

Function isIdentRune

backend/plugin/parser/partiql/completion.go:215–218  ·  view source on GitHub ↗
(r rune)

Source from the content-addressed store, hash-verified

213}
214
215func isIdentRune(r rune) bool {
216 return (r >= 'A' && r <= 'Z') || (r >= 'a' && r <= 'z') ||
217 (r >= '0' && r <= '9') || r == '_' || r == '$'
218}
219
220// addColumnCandidates extracts column names from tables referenced in
221// the active statement (the one containing the cursor) and adds them

Callers 1

lastKeywordIndexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected