pgx/internal/sanitize
Jack Christensen 49b6aad319 Use spaces instead of parentheses for SQL sanitization
This still solves the problem of negative numbers creating a line
comment, but this avoids breaking edge cases such as `set foo to $1`
where the substition is taking place in a location where an arbitrary
expression is not allowed.

https://github.com/jackc/pgx/issues/1928
2024-03-09 12:09:42 -06:00
..
sanitize.go Use spaces instead of parentheses for SQL sanitization 2024-03-09 12:09:42 -06:00
sanitize_test.go Use spaces instead of parentheses for SQL sanitization 2024-03-09 12:09:42 -06:00