由网友(够Man!)分享简介:我试图删除一对夫妇行的SQLite数据库编程Android和想知道什么whereArgs是指本文档中:I'm trying to remove a couple of rows in a sqlite database programmatically for android and am wondering wha...
我试图删除一对夫妇行的SQLite数据库编程Android和想知道什么whereArgs是指本文档中:
I'm trying to remove a couple of rows in a sqlite database programmatically for android and am wondering what the whereArgs are referring to in this documentation:
http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#delete(java.lang.String,%20java.lang.String,%20java.lang.String[])
有人可以给我一个例子吗?
Can someone give me an example?
推荐答案
whereArgs
是值的where子句。当您使用? (占位符)中的第二个参数( whereClause
),您所提供的 whereArgs
。 See这篇文章的详细信息。
whereArgs
are the values to the where clause. When you use the "?" (placeholder) in the second argument (whereClause
), you've to provide the whereArgs
. See this post for details.
相关推荐
最新文章