|
From: | Pedro Aguilar |
Subject: | [PATCH] SQLite escape single quote |
Date: | Tue, 20 May 2014 12:25:00 +0200 (CEST) |
Hi,
This patch adds a function that escapes only single quotes by putting two single quotes in a row as SQLite likes them, otherwise it gives an insert error.
Reference:
http://www.sqlite.org/lang_expr.html
in the section Literal Values
Regards,
Pedro Aguilar
http://paguilar.org |
sqlite_escape_single_quote.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |