Jack C. Holt wrote:
> The online docs for ContentProvider/SQLiteDatabase.delete() do not
> document the third parameter "String[] whereArgs".
> 
> I assume that the idea is that the second parameter (the where clause)
> could contain replaceable parameters in the form of question marks (?)
> and the Strings contained in the whereArgs array would replace the
> question marks in the where clause.
> 
> Could someone verify/debunk this assumption?

I can verify this assumption for SQLiteDatabase.

Technically speaking, I think it is up to the implementations of 
ContentProvider what they do with those parameters, but I suspect most 
will also treat them as a WHERE clause and ? parameters.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.9 Available!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to