From 2a203e5340654936e3bbe1c0ac392221d15c9aeb Mon Sep 17 00:00:00 2001 From: Milos Negovanovic Date: Tue, 21 Oct 2014 15:56:00 +0100 Subject: [PATCH] Add comment. --- lib/impure/db_postgres.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/impure/db_postgres.nim b/lib/impure/db_postgres.nim index 67e769ed2..510cb8e45 100644 --- a/lib/impure/db_postgres.nim +++ b/lib/impure/db_postgres.nim @@ -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, "''")