MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / quoteIdentifier

Function quoteIdentifier

internal/store/postgresstore.go:639–642  ·  view source on GitHub ↗
(identifier string)

Source from the content-addressed store, hash-verified

637}
638
639func quoteIdentifier(identifier string) string {
640 replaced := strings.ReplaceAll(identifier, "\"", "\"\"")
641 return "\"" + replaced + "\""
642}
643
644func valueAsString(v any) string {
645 switch t := v.(type) {

Callers 2

EnsureSchemaMethod · 0.85
fullTableNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected