Discover Packages
github.com/jackc/pgx/v5
internal
sanitize
package
Version:
v5.0.0-alpha.5
Opens a new window with list of versions in this module.
Published: Jul 16, 2022
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
SanitizeSQL replaces placeholder values with args. It quotes and escapes args
as necessary. This function is only safe when standard_conforming_strings is
on.
Part is either a string or an int. A string is raw SQL. An int is a
argument placeholder.
type Query struct {
Parts []Part
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.