MCPcopy Create free account
hub / github.com/PostHog/duckgres / QuoteIdentifier

Function QuoteIdentifier

server/sqlcore/identifier.go:61–63  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

59}
60
61func QuoteIdentifier(s string) string {
62 return `"` + strings.ReplaceAll(s, `"`, `""`) + `"`
63}
64
65func firstSearchPathEntry(searchPath string) string {
66 searchPath = strings.TrimSpace(searchPath)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected