New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for distinct for links #1906
Comments
We currently do not support indexing (and consequently distinct) on links. I'll rename your issue and tag it as an enhancement request. |
+1 I agree that this would be a very helpful feature! Thank you! :) |
It will work |
+1 This feature will be very helpful and almost mandatory. Is there any alternative solution to this right now ? I really need a solution. |
Wait, distinct across links is still not supported, even with Results integration? |
Any workaround? |
Invert your query so that it is not the |
This would be a very useful feature. |
Distinct on linked properties should be supported by Core now and there is an internal team needing this functionality, so we should look into lifting this restriction soon. |
i tried
throw
java.lang.UnsupportedOperationException: The field must be indexed before distinct() can be used.
but linked field can not be indexed
and tried
throw
java.lang.IllegalArgumentException: Field name 'Child.id' does not exist.
compile 'io.realm:realm-android:0.86.0'
android v4.4.4
The text was updated successfully, but these errors were encountered: