开发者

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=day

Any 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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜