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 - Ebean enhancement ignores a model -

ubuntu - How to disable Kernel Module Signing in linux -

SQL php on different pages to Insert (mysqli) -