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

Function isIdentByte

backend/plugin/parser/tidb/completion.go:247–252  ·  view source on GitHub ↗
(b byte)

Source from the content-addressed store, hash-verified

245}
246
247func isIdentByte(b byte) bool {
248 return b == '_' ||
249 (b >= 'a' && b <= 'z') ||
250 (b >= 'A' && b <= 'Z') ||
251 (b >= '0' && b <= '9')
252}
253
254// defineTable installs a table in the catalog, retrying with generic column
255// types if the real types fail to parse so that column names still surface.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected