I have many-to-many relationship and try to get users which doesn't contain in relationship some category with id. When I try to fetch I get all users if user contain more than one category.
Asked
Active
Viewed 25 times
0
-
I am not exactly sure what you want to do but it does look like you need to use a subquery, see for instance https://stackoverflow.com/questions/44347626/core-data-fetch-predicate-not-contain – Joakim Danielson Jul 29 '23 at 20:29
-
1@JoakimDanielson it doesn't answer what I need, but the question you sent contains the link to another question with answer for my case. Thanks a lot!! – Empiric Jul 30 '23 at 09:00
-
Great, I’ll close this one then – Joakim Danielson Jul 30 '23 at 09:12