Add comment.
This commit is contained in:
parent
f5cd0a63ad
commit
11a2cfb306
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ when false:
|
|||
discard mysql_stmt_close(stmt)
|
||||
|
||||
proc dbQuote*(s: string): string =
|
||||
## DB quotes the string.
|
||||
result = "'"
|
||||
for c in items(s):
|
||||
if c == '\'': add(result, "''")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue