解决方法
它被讨论了
at the Java group并且也适用于iOS实现.
Nov 2014
GROUP BY is only interesting in combination with some kind of
aggregate function. We have the most common ones directly on
RealmResults,like sum(),average(),max() and min(),are these what
you are looking for or do you have something else in mind?We actually implemented DISTINCT but found some bugs that needed to be
fixed before it can be released. So hopefully really soon