[Vala] Escape string for use in sqlite

Hi all!
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

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