iPhone Core Data - Access deep attributes with to many relationships
Posted
by ncohen
on Stack Overflow
See other posts from Stack Overflow
or by ncohen
Published on 2010-04-19T14:26:37Z
Indexed on
2010/04/20
16:43 UTC
Read the original article
Hit count: 233
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
© Stack Overflow or respective owner