package sanitize

Import Path
	github.com/jackc/pgx/v4/internal/sanitize (on go.dev)

Dependency Relation
	imports 7 packages, and imported by one package

Involved Source Files sanitize.go
Package-Level Type Names (total 4, in which 2 are exported)
/* sort exporteds by: | */
Part is either a string or an int. A string is raw SQL. An int is a argument placeholder.
Parts []Part (*T) Sanitize(args ...interface{}) (string, error) func NewQuery(sql string) (*Query, error)
Package-Level Functions (total 11, in which 4 are exported)
SanitizeSQL replaces placeholder values with args. It quotes and escapes args as necessary. This function is only safe when standard_conforming_strings is on.