iPhone Core Data - Access deep attributes with to many relationships
- by ncohen
Hi everyone,
Let say I have an entity user which has a one to many relationship with the entity menu which has a one to many relationship with the entity meal which has a many to one relationship with the entity recipe which has a one to many relationship with the entity element.
What I would like to do is to select the elements which belong to a particular user (username = myUsername) and particular menu*s* (minDate < menu.date < maxDate).
Does anyone have an idea how to get them?
Thanks