mercredi 6 mai 2015

escape a string in node js to insert it in a sqlite3 database

I'm using the external module sqlite3 to write and read my db.

I want to store a very large description in my db which can contains some particular character.

How can I correctly escape the string?

Aucun commentaire:

Enregistrer un commentaire