tags:

views:

20

answers:

1

I want my fetchRequest to only return rows that have a relationship that's not nil, but I am having problem forming the predicate for this. How should this be done?

[Update] I should mention, the relationship is to-many.

A: 

If the relationship is named myRelation, a predicate like self.myRelation != nil should work.

Barry Wark