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

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

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

java - Cannot secure connection using TLS -