Using ORDER By with DataNucleus Rest API and GAE Datastore
I'm successfully pulling back my objects however, I would like for them to already be sorted by a field in the object.
I have this working:
new Ajax.Request("/dn/com.emooney.meeting.beans.Meeting?groupName=='"+name+"'"
But I want to do something like this:
new 开发者_如何学CAjax.Request("/dn/com.emooney.meeting.beans.Meeting?groupName=='"+name+"'"&ORDERBY='day'
I've tried the following:
&ORDERBY=='day' &ORDERBY==day &ORDERBY='day' &ORDERBY=dayAny ideas? I can't find any documentation on how to orderby when using DataNucleus's RestAPI.
Thanks, Eric
Looking at the code (which I didn't write) it only allows the WHERE clause currently. Guess you'd have to implement the ordering over at your side.
精彩评论