我想创建一个查询,如果 2 个字段中存在某些内容(我想为每个字段显示 OR 而不是 AND),它将检查特定类这是我所做的,但它不起作用(基于我看到的一些示例)
PFQuery *query = [PFQuery queryWithClassName: self.parseClassName];
[query whereKeyExists:@"name"]; //this is based on whatever query you are trying to accomplish
[query whereKeyExists:@"city"]; //this is based on whatever query you are trying to accomplish
[query whereKey:@"description" containsString:searchTerm];
我该怎么做?
** 我想在我的查询中获取包含所有字段(名称、城市、描述)的 searchTeam 的所有结果
谢谢