core data - NSPredicate and KVC collection operators -
assume have core data
class employer
1-n relationship called employees.
this employees
relationship maps nsset
. far good.
i want create nsfetchrequest
of employer
predicate requieres employees > 0
.
how can create predicate?
i tried "employees.@count"
, seems consider whole thing keypath.
you got syntax backwards:
@count.employees
Comments
Post a Comment