NSPredicate 'The left hand side for an ALL or ANY operator must be either an NSArray or NSSet'

后端 未结 1 1429
傲寒
傲寒 2021-01-03 02:53

Not totally sure why this isn\'t working now, i thought it had been working previously. Does anyone see an issue with this FetchRequest construction?

- (NSAr         


        
相关标签:
1条回答
  • 2021-01-03 03:23

    It seems addedOn is not a to-many relationship. Make sure you use the correct names of your attributes / relationships in the predicate. Also, note that you cannot use a to-one relationship in a "ANY" predicate.

    0 讨论(0)
提交回复
热议问题