This question already has an answer here:
String[] whereArgs also present in update function of SQLiteDatabase class, what does it depicts?? I've read the documentation but not getting it,Please help. Thanks in Advance !!
This question already has an answer here: String[] whereArgs also present in update function of SQLiteDatabase class, what does it depicts?? I've read the documentation but not getting it,Please help. Thanks in Advance !! |
|||
marked as duplicate by Brian Roach, tbodt, Eran, Raghav Sood, Nirk Aug 19 '13 at 0:38This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. |
|||
|
As the documentation says, it's used for
The use of parameter markers is very important for avoiding SQL injection. For example,
will not delete all rows of your table, but if you naively did
and |
||||
|
If your |
|||
|