Reputation: 3059
What's the syntax for using a LIMIT clause with SQLiteDatabase.query()?:
http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#query(java.lang.String, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String)
is it:
the docs don't say, and other posts are confusing on the subject.
Thank you
Upvotes: 0
Views: 551
Reputation: 14847
LIMIT is append by Android. So it will be N
or N, K
if you need.
Upvotes: 1