Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在核心数据中有以下关系:
NSPredicate让所有课程至少有一名 25 岁以上学生的正确做法是什么?
NSPredicate
[NSPredicate predicateWithFormat:@"ANY students.age > %d", 25]
应该工作(作为“课程”实体的获取请求的谓词)。