MCPcopy
hub / github.com/jackc/pgx / quoteIdentifier

Function quoteIdentifier

conn.go:448–450  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

446}
447
448func quoteIdentifier(s string) string {
449 return `"` + strings.ReplaceAll(s, `"`, `""`) + `"`
450}
451
452// Ping delegates to the underlying *pgconn.PgConn.Ping.
453func (c *Conn) Ping(ctx context.Context) error {

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected