I'm trying to write a query for the find-as-you-type search bar. What I want to do is query "Kind", and return any Kinds for which there is a LocalName with ('name' LIKE %@ AND localeIdentifier == %@).
If I'm only searching the names (so ignoring the localeIdentifier), I could do something like this:
ANY localized.name LIKE %@
What I want is something more like
ANY localized.(name LIKE %@ AND localeIdentifier == %@)
To sum up, searching "Kind", any one item in the to-many relationship "localized" should match both name and localeIdentifier.
Any ideas for the correct syntax of this?
Thanks,
Thomas