我需要对同一类的 2 个字段进行查询。我在用着:
PFQuery *fewWins = [PFQuery queryWithClassName:@"FlightsDB"];
[fewWins whereKey:@"Name" containsString:searchText];
PFQuery *lotsOfWins = [PFQuery queryWithClassName:@"FlightsDB"];
[lotsOfWins whereKey:@"IATA" containsString:searchText];
问题是我得到不一致的结果或根本没有正确的结果。