-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
IN operator similar to NSPredicate's "fieldName IN %@" #1280
Comments
Yes, an
Your request is similar to #841. |
Thanks. Will it work when signalIds array is pretty large (2-3 thousands of items)? |
Yes, it should work (we have a unit test with 1024 conditions). |
Thanks. |
The IN operator in iOS currently just does the same thing of looping over the array and building up a chained OR/equalsTo, so you should see identical performance. |
Greetings.
I need to retrieve objects from realm whose field doesn't have any of the values presented in code-supplied List.
In Realm for iOS I do that like this:
[SLLocation objectsInRealm:realm where:@"date > %@ AND NOT (signalId IN %@)", fromDate, signalIds]
How to do that in Realm for Java?
The text was updated successfully, but these errors were encountered: