-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
SDK版本号 6.1.9
查询数据时 include 无效。
代码:
AVQuery<AVObject> query = new AVQuery<>("TestObject");
query.include("parent");
query.include("owner");
query.getInBackground("5e05d36421b47e007079c26d").subscribe(new Observer<AVObject>() {
@Override
public void onSubscribe(Disposable d) {
}
@Override
public void onNext(AVObject avObject) {
}
@Override
public void onError(Throwable e) {
}
@Override
public void onComplete() {
}
});
日志:
2020-01-10 16:36:50.039 6089-6147/com.example.myapplicationtest D/LoggingInterceptor: Request: curl -X GET
-H Accept: application/json
-H Content-Type: application/json
-H User-Agent: LeanCloud-Java-SDK/6.1.9
-H X-LC-Id: JMBPc7y4SUPRDrOSHXjXVMN7-gzGzoHsz
-H X-LC-Prod: 1
-H X-LC-Session: {your_session}
-H X-LC-Sign: {your_sign}
https://jmbpc7y4.lc-cn-n1-shared.com/1.1/classes/TestObject/5e05d36421b47e007079c26d
2020-01-10 16:36:50.040 6089-6147/com.example.myapplicationtest D/LoggingInterceptor: Response: 200
server: openresty
date: Fri, 10 Jan 2020 08:36:50 GMT
content-type: application/json;charset=utf-8
vary: Accept-Encoding
cache-control: no-cache,no-store
pragma: no-cache
last-modified: Fri, 27 Dec 2019 09:48:20.682 GMT
strict-transport-security: max-age=31536000
{"num":12,"date":{"__type":"Date","iso":"2019-12-27T09:48:19.957Z"},"updatedAt":"2019-12-27T09:48:20.682Z","parent":{"__type":"Pointer","className":"TestSubObject","objectId":"5e05d36443c257006f3a72ee"},"content":"\u5f53\u7136\u662f\u80af\u5fb7\u57fa\u5566\uff01","objectId":"5e05d36421b47e007079c26d","words":"222","createdAt":"2019-12-27T09:48:20.682Z","className":"000","testRelation":{"__type":"Relation","className":"Todo"},"testBool":false,"order":23,"owner":{"__type":"Pointer","className":"_User","objectId":"5e05bad87d5774006a18ddf7"}}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working