Add comment.

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

View File

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