开发者

Android SQLiteDatabase.rawQueryWithFactory, editTable parameter

SQLiteDatabase.rawQueryWithFactory has one parameter editTable which I don't really understand. I looked at the source and found out that I'll probably be fine by using findEditTables( tableName ) as the value (because that's the value which is used when queryWithFactory is called), and as findEditTables will just get the first table out of that string list, I guess simply passing one of the table names I am quering as the parameter will work out fine.

However that still doesn't help me to understand what the parameter is used for, so if you know it would be nice if you could e开发者_高级运维xplain :)


editTable --> SQLiteDirectCursorDriver --> SQLiteCursor

SQLiteDirectCursorDriver passes editTable to SQLiteCursor without affecting anything else.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜