MCPcopy Index your code
hub / github.com/ent/ent / isIdentifier

Function isIdentifier

dialect/sql/sqljson/sqljson.go:674–684  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

672}
673
674func isIdentifier(name string) bool {
675 if name == "" {
676 return false
677 }
678 for i, c := range name {
679 if !unicode.IsLetter(c) && c != '_' && (i == 0 || !unicode.IsDigit(c)) {
680 return false
681 }
682 }
683 return true
684}
685
686func isQuoted(s string) bool {
687 if s == "" {

Callers 1

mysqlPathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…