diff --git a/prepared_statement.go b/prepared_statement.go index 2ef43ca..cae8aaa 100644 --- a/prepared_statement.go +++ b/prepared_statement.go @@ -12,8 +12,7 @@ func EscapeString(value string) string { {`\0`, `\\0`}, {`\n`, `\\n`}, {`\r`, `\\r`}, - {`"`, `\"`}, - {`'`, `\'`}, + {`'`, `''`}, } for _, val := range replace {