Affected by GO-2024-2605
and 1 other vulnerabilities
GO-2024-2606 : SQL injection in github.com/jackc/pgproto3 and github.com/jackc/pgx
The highest tagged major version is
v5 .
Discover Packages
github.com/jackc/pgx/v4
internal
sanitize
package
Version:
v4.7.0
Opens a new window with list of versions in this module.
Published: Jun 27, 2020
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.