Split from #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();
Split from #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
This also include support for
RealmList.min()/max()/average()/sum()/minDate()/maxDate()which depends on the query systemOut of scope for now