ios - NSPredicate for one - to - one relashionships -


i have 2 entities 1 called game (which has boolean attribute called synchronized) , 1 called coupon (witch has boolean attribute called won) game , coupon connected via one-to-one relationship called hascoupon.

i want fetch games have synchronized = false , won = true.

nspredicate(format: "synchronized = false && hascoupon.won = true") 

Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -