mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 03:02:31 +00:00
@@ -134,8 +134,7 @@ proc dbQuote*(s: string): string =
|
||||
of '\'': result.add "\\'"
|
||||
of '\\': result.add "\\\\"
|
||||
of '_': result.add "\\_"
|
||||
of Letters+Digits: result.add c
|
||||
else: result.add "\\" & $ord(c)
|
||||
else: result.add c
|
||||
add(result, '\'')
|
||||
|
||||
proc dbFormat(formatstr: SqlQuery, args: varargs[string]): string =
|
||||
|
||||
Reference in New Issue
Block a user