22.10.2015, 08:19
Well, i've been trying to learn sqlite. In many tutorials i saw that some strings were passed through DB_Escape function. But in 0.3.7 , i believe theres's a native '%q' operator which does the function of DB_Escape. My question is ,why should strings be escaped and what are the cases where it should be used. I've been using '%q' for all strings in my test script,it works just fine. But i want to know if it's right or wrong.
(I'm just learning sqlite and i want to know if i've been doing things wrong)
(I'm just learning sqlite and i want to know if i've been doing things wrong)