问题描述
我的数据模型如下,我的目标是过滤属于该社区的联系人
Contact<<->Account<<->Comunity
这是我到目前为止所做的事情,即时消息由于查询错误而成为异常。
let contacts = NSPredicate(format: "SUBQUERY(account,$x,SUBQUERY($x.community,$y,ANY $y.community_id == %@)).@count > 0",community_id)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)