场景:

1、
将请求参数子类化进行saveInBackgroundWithBlock新增对象后,其中某参数为Pointer类型

2、
下一步回到列表进行findObjectsInBackgroundWithBlock请求
includeKey函数获取的Pointer的详细信息

这些都能够成功

3、
问题出现在allKeys函数
列表数据所有字段类型为Pointer的key 获取不到

// ------

打比方

我有Book表 其中有字段 name( String)
我有Student表 其中有字段 name(String) book(Pointer)

获取Student列表数据
AVQuery *query = [AVQuery queryWithClassName:@"Student"];
[query includeKey:@"book"];

在findObjectsInBackgroundWithBlock里获取[objects.firstObject allKeys]
将得到name和book

下一步

新增一个Student对象,用子类化save方式成功

再次进行上一步findObjectsInBackgroundWithBlock查询

结果[objects.firstObject allKeys]只能得到name

/// -------

这个问题挺急的,请帮忙调查一下,谢谢

请问使用的 SDK 的版本号是什么?

iOS SDK 12.1.3
使用cocoapods进行管理

iOS适配11.0以上

感谢您的反馈,这个问题我们会调查一下。您可以使用 AVObject 以及 className 做为替代方案。