-
Notifications
You must be signed in to change notification settings - Fork 585
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
Support uniqueness constraint #422
Comments
+1 |
I want to make field 'itemName' of Table Item to be unique in Android Realm. It means 'itemName' should not contain duplicate values. Is there any other way to achieve this except Primary key.. Thanks.. |
@dtmandroid not at the moment, no. We will update this issue when we look into it. |
Any news on this? |
Unfortunately not. But I will raise the feature request with the Realm Core team (see also realm/realm-core#3860). |
We Really Need this feature @realm-support |
@quanle1996 Ya, I need too |
++ |
Realm does not support a 'unique' constraint (other than a maximum of 1 primary key per object type).
This is highly desirable.
I realise this is something lacking from Realm's core, and when realm/realm-java#967 is resolved it will most likely propagate through to realm-js, but wanted to record it against this repo for others searching.
The text was updated successfully, but these errors were encountered: