Parse.com相当于集团通过集团、Parse、com

由网友(誓死相随 ※)分享简介:我一直在读通过解析论坛,我推测,由于2年前没有SQL集团截至等价的。I have been reading through parse forums and I gather that as of 2 years ago there was no equivalent of SQL Group By.我不知道是否有...

我一直在读通过解析论坛,我推测,由于2年前没有SQL集团截至等价的。

I have been reading through parse forums and I gather that as of 2 years ago there was no equivalent of SQL Group By.

我不知道是否有过对这个的发展吗?我有上千条记录,我需要通过名称拉下的所有记录在降值等级顺序,然后将它们分组。

I'm wondering if there have been any developments on this? I have thousands of records and I need to pull down all records in descending order of a value rating and then group them by name.

如果这不是可在present也许有人会提出一些我可以工作,而不是上

If this isn't available at present perhaps someone could suggest something I could work on instead.

问候。

推荐答案

请参见 https://开头解析.COM /文档/ android_guide#查询,基本,你可以有二次分选关键,这将是按组当量。

See https://parse.com/docs/android_guide#queries-basic , you can have secondary sorting key, which would be equivalent of "group by".

query.orderByDescending("rating");
query.addAscendingOrder("name");

能为你做的伎俩。

could do the trick for you .

阅读全文

相关推荐

最新文章