Discover Packages
gitee.com/general252/pgx
internal
sanitize
package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Sep 26, 2024
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.