Add comment.

This commit is contained in:
Milos Negovanovic 2014-10-21 15:56:00 +01:00
commit 2a203e5340

View file

@ -48,7 +48,8 @@ proc dbError*(msg: string) {.noreturn.} =
e.msg = msg e.msg = msg
raise e raise e
proc dbQuote(s: string): string = proc dbQuote*(s: string): string =
## DB quotes the string.
result = "'" result = "'"
for c in items(s): for c in items(s):
if c == '\'': add(result, "''") if c == '\'': add(result, "''")