-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
5361
-
SDK FY21-Q3, SDK FY21-Q3.
Split from https://github.com/realm/realm-java/pull/5031
We need to add support for arrays of values to RealmQuery. Based on API discussions we don't want to add a ton of extra methods, so instead we are going to use the empty field name "" when querying arrays of primitives.
E.g
public class Person extends RealmObject { public RealmList<String> names; } // Query list in object RealmResults<Person> results = realm.where(Person.class).equalTo("names", "John").findAll();
This also include support for RealmList.min()/max()/average()/sum()/minDate()/maxDate() which depends on the query system
Out of scope for now
// Query list directly Person p = getPerson(); RealmResults<String> results = p.names.where().like("", "Jo*").findAll();
- related to
-
RCORE-309 Support for predicates on primitive lists with old query syntax
-
- Closed
-