Quick Explanation of SUBQUERY in NSPredicate Expression

前端 未结 3 1581
予麋鹿
予麋鹿 2020-11-27 18:03

There appears to be zero documentation about the SUBQUERY keyword from Apple and I can\'t find a simple explanation about it on SO or on Google. It\'s a conspiracy! ;)

3条回答
  •  有刺的猬
    2020-11-27 18:28

    This is what a subquery evaluates to. (Found from this mailing list thread, the #1 hit for “NSPredicate subquery” in Google.) That bit of documentation also explains how the predicate format string syntax relates to it.

提交回复
热议问题