MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / isReservedKeyword

Function isReservedKeyword

pkg/sql/lex/predicates.go:64–67  ·  view source on GitHub ↗

isReservedKeyword returns true if the keyword is reserved, or needs one extra token of lookahead.

(s string)

Source from the content-addressed store, hash-verified

62// isReservedKeyword returns true if the keyword is reserved, or needs
63// one extra token of lookahead.
64func isReservedKeyword(s string) bool {
65 _, ok := reservedOrLookaheadKeywords[s]
66 return ok
67}
68
69// isBareIdentifier returns true if the input string is a permissible bare SQL
70// identifier.

Callers 1

EncodeRestrictedSQLIdentFunction · 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…