Ios 如何获取返回的内部查询的object属性';在一个查询中使用includeKey功能创建对象

Ios 如何获取返回的内部查询的object属性';在一个查询中使用includeKey功能创建对象,ios,object,pointers,parse-platform,relation,Ios,Object,Pointers,Parse Platform,Relation,我正在尝试做一个查询,可以用当前商店和产品代码搜索商店产品。产品包含我需要的“类别”对象属性 我使用下面的查询,但它总是返回存储产品及其产品对象属性,但不包括类别对象属性 PFQuery *query = [StoreProduct query]; // Inner Query PFQuery *productQuery = [Product query]; [productQuery includeKey:@"categoryObject"]; // there is no need and

我正在尝试做一个查询,可以用当前商店和产品代码搜索商店产品。产品包含我需要的“类别”对象属性

我使用下面的查询,但它总是返回存储产品及其产品对象属性,但不包括类别对象属性

PFQuery *query = [StoreProduct query];

// Inner Query
PFQuery *productQuery = [Product query];
[productQuery includeKey:@"categoryObject"]; // there is no need and it's not working but I tried
[productQuery whereKey:@"code" equalTo:@(_number)];

[query whereKey:@"productObject" matchesQuery:productQuery];
[query whereKey:@"storeObject" equalTo:_currentStore];
[query includeKey:@"productObject"];

[query includeKey:@"productObject.categoryObject"]; // this is not working

有人知道吗?谢谢。

该功能可以执行请求2深度。解析帮助论坛的答案是:

请注意,iOS上自定义子类的属性名应该映射到Parse cloud端的对象表的列