This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      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();
      

              Assignee:
              [DO NOT USE] Backlog - Realm Java Team
              Reporter:
              Christian Melchior (Inactive)
              Archiver:
              Marc Greenfield

                Created:
                Updated:
                Resolved:
                Archived: