fix: sqlite single quote interpolations

This commit is contained in:
Antonio
2025-12-25 13:13:08 -04:00
parent 65792c9a9b
commit 12ff5ab864
+3 -3
View File
@@ -803,12 +803,12 @@ func quoteStringValue(buf []byte, s string, flavor Flavor) []byte {
buf = append(buf, "\\Z"...)
case '\'':
if flavor == CQL {
switch flavor {
case SQLite, CQL:
buf = append(buf, "''"...)
} else {
default:
buf = append(buf, "\\'"...)
}
case '"':
buf = append(buf, "\\\""...)