gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] SQLite escape single quote


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

Attachment: sqlite_escape_single_quote.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]