MCPcopy Create free account
hub / github.com/bradfitz/go-sql-test / SanitizeSql

Function SanitizeSql

src/github.com/jackc/pgx/values.go:455–474  ·  view source on GitHub ↗

SanitizeSql substitutely args positionaly into sql. Placeholder values are $ prefixed integers like $1, $2, $3, etc. args are sanitized and quoted as appropriate.

(sql string, args ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

sendSimpleQueryMethod · 0.85

Calls 1

sanitizeArgFunction · 0.85

Tested by

no test coverage detected