As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Most of the examples i see online recommend something like collection.find(query, null).sort(); but that doesn't seem to be supported by the Kinvey implementation on Google App Engine.
You just use 'ascending' as a property of the query rather than 'sort'.
Of course, I haven't every touched the Google App Engine code; so, I could be wrong here.
A
Arun Venkatesan
said
over 9 years ago
Unfortunately, the Kinvey Query object in Google App Engine does not have methods for setting a limit or ascending and descending sort. Perhaps someone from Kinvey can clarify this...
M
Michael
said
over 9 years ago
That is correct, the Kinvey Query object in GAE currently does not support sort.
Arun Venkatesan
The following code below works as expected, but I'm trying to find out how to sort the results. I would like to sort by a specific key.
Collection collection = new Collection("Collection");
Query query = new Query();
query.equals("key", value).lessThan("key", value).greaterThan("key", value);
try {
List docs = collection.find(query, null);
} catch (CollectionAccessException cae) {
}
Most of the examples i see online recommend something like collection.find(query, null).sort(); but that doesn't seem to be supported by the Kinvey implementation on Google App Engine.