Sqllite error


I am using ionic Framework and trying to insert records into it and got syntax Error.

I found that i am getting Like in my string i am getting

your’s which is causing me syntax error.

I have also tried following code before inserting into db.

category_name =category_name.replace("’", “’’”);
Which is also not working

Any idea?



Can you post the SQLite error and your code plz ?


We need to use Escape before saving into database. i solved this.