<Query MongoDB Realm array only at first index> I ...
# stackoverflow
u
Query MongoDB Realm array only at first index I need to query MongoDB Realm from synced iOS and Android app. In Swift I can write something like this: let dictionary = realm?.objects(myReamlObject.self) let results = dictionary?.where { $0.senses.glosses.term == "the term I want" } or using predicate: let results = dictionary?.filter("ANY senses.glosses.term == %@", "the term I want") Both work well, but I don't want to check ALL senses.glosses.term. Every entry has (or could have) many senses and many glosses. I would like to...