Suppose i have a one to many relationship between two model entities Entity One and Entity Many, and Entity One has a name field,
Entity One (1) — (m) Entity Many
I want to check if an Entity One exist with name equal to "one" and has associated Entity Many records. Can i perform this check using countForFetchRequest: method? How? I’m not very good very predicates.
Ended up doing this, and seems to be working: