【发布时间】:2014-10-29 03:51:30
【问题描述】:
我有这个代码
Cursor mCursor = this.getContentResolver().query(
PlayerContentProviderDB.CONTENT_URI, PLAYERS_PROJECTION, null, null,
Players.SCORE +" ASC"
+ " LIMIT 2");
我无法达到工作限制。我已经阅读了这种格式的作品,但在这种情况下并非如此。目前我知道我的排序子句也没有按预期工作,我不知道为什么(请参阅 How to sort a cursor based on a time string)。
这两种说法都不起作用是有原因的吗?如果是这样,我该如何解决?
【问题讨论】:
标签: android sqlite android-cursor