CoreData performance: predicate on more to-many relationships
问题 Using SQL data store, I have a model like this: Category <-->> Item Collection <-->> Item Brand <-->> Item Every left-side entity has a to-many relationship named items to the Item entity. Each one is the inverse of to-one Item relationships category , collection and brand respectively. I want to fetch all Brand objects with at least one Item in relation with a particular Collection AND a Category. In natural language, I want all the brands of items with particular category and a particular