[Vala] Escape string for use in sqlite
- From: Rodrigo Herefeld <rodrigo herefeld gmail com>
- To: Vala List <vala-list gnome org>
- Subject: [Vala] Escape string for use in sqlite
- Date: Tue, 6 Mar 2012 09:41:23 -0300
I'm writing a small program that uses a sqlite database, i need to escape
chars to avoid problems with sql, example,
if i try to add the entry "moe's bar" to the database it fails.
I'm not worried about sql injection because i'll be the only user for the
app, but i think about that too.
Does anyone have an idea? :-)
Rodrigo Cesar Herefeld
] [Thread Prev