大家好,我正在尝试将两个查询与 MatchesQuery 合并,但不会显示 TableView 上的数据并给我这个错误
错误:$ inquery 的类型错误
有谁知道这个查询中的错误是什么?谢谢大家
- (void) retrieveFromParse {
PFQuery *Amici = [PFQuery queryWithClassName:@"Amicizie"];
[Amici whereKey:@"RICHIESTA_IN_ATTESA" equalTo:@"YES"];
PFQuery *retrievePets = [PFQuery queryWithClassName:FF_USER_CLASS];
[retrievePets whereKey:FF_USER_NOMECOGNOME matchesQuery:Amici];
[retrievePets orderByAscending:FF_USER_NOMECOGNOME];
[retrievePets findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) {
if (!error) {
NSLog(@"%@", objects);
allObjects = [[NSMutableArray alloc] init];
for (PFObject *object in objects) {
[allObjects addObject:object];
}
}
[self.FFTableViewFindUser reloadData];
}];
}