public enum Ability: String {
case newcomer = "Newcomer"
case beginner = "Beginner"
case intermediate = "Intermediate"
case advanced = "Advanced"
}
public enum Group: String {
case solo = "Solo"
case duo = "Duo"
case team = "Team"
}
I want to find all performances that match the following.
ability == "Beginner"
group == "Duo"
performers == "Jane Davies" && "Alice Evans"
The documentation suggests that aggregate operations in core data are not supported, which is surprising. Questions like this have been asked before here and suggest the use of 'Any'.
To my understanding, 'Any' would return performances that include 'Jane' or 'Alice' or 'Jane & Alice' right? I just want performances that include both 'Jane & Alice'.
How would I write a predicate for this query?
Thanks