I use Realm-Java
for an android application.
I need to query the list MyObject
, looking for those that contain the string in MyObject.SubObject_A.ListOfString
.
Since Realm does not support the list String
, I now use this structure:
-MyObject
C RealmString
will be
public class RealmString extends RealmObject {
public static final String VALUE = "value";
private String value;
}
How to query for all MyObject
that contain a given string inside MyObject.SubObject_A.RealmList<RealmString>
?
source
share