I want to create a query that will check in a specific class if something exist in 2 fields (I want to display for each one meaning OR and not AND) this is what I did but it's not working (Based on some examples I saw)
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];
how should I do this?
** I want to get in my query all the result the contain the searchTeam from all fields (name,city,description)
Thanks