MCPcopy Index your code
hub / github.com/dropbox/godropbox / validIdentifierName

Function validIdentifierName

database/sqlbuilder/column.go:260–262  ·  view source on GitHub ↗

Returns true if the given string is suitable as an identifier.

(name string)

Source from the content-addressed store, hash-verified

258
259// Returns true if the given string is suitable as an identifier.
260func validIdentifierName(name string) bool {
261 return validIdentifierRegexp.MatchString(name)
262}
263
264// Pseudo Column type returned by table.C(name)
265type deferredLookupColumn struct {

Callers 15

SerializeSqlMethod · 0.85
StringMethod · 0.85
StringMethod · 0.85
StringMethod · 0.85
StringMethod · 0.85
StringMethod · 0.85
BytesColumnFunction · 0.85
StrColumnFunction · 0.85
DateTimeColumnFunction · 0.85
IntColumnFunction · 0.85
DoubleColumnFunction · 0.85
BoolColumnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected