prepared statement: fix single quotes
This commit is contained in:
parent
40a5e952d2
commit
720fa5f851
|
@ -12,8 +12,7 @@ func EscapeString(value string) string {
|
|||
{`\0`, `\\0`},
|
||||
{`\n`, `\\n`},
|
||||
{`\r`, `\\r`},
|
||||
{`"`, `\"`},
|
||||
{`'`, `\'`},
|
||||
{`'`, `''`},
|
||||
}
|
||||
|
||||
for _, val := range replace {
|
||||
|
|
Loading…
Reference in New Issue