我已经把
"whichGardenId": {
"__op": "AddRelation",
"objects": [
{
"__type": "Pointer",
"className": "garden",
"objectId": "619ba93b1d6ef652607c67a1"
}
]
},
改成
"whichGardenId": {
"__type": "Pointer",
"className": "garden",
"objectId": "619b5ba6f277b028fa8cc29b"
},
{{gurl}}/1.1/classes/owner?include=whichGardenId
得到了想要的数据如下;但是type怎么还是Pointer,以上链接文档说应该是Object?
"whichGardenId": {
"OCStatus": "",
"address": "汉正街",
"updatedAt": "2021-11-22T08:58:14.584Z",
"gardenName": "江山如画32",
"admin": "",
"objectId": "619b5ba6f277b028fa8cc29b",
"city": "武汉市",
"createdAt": "2021-11-22T08:58:14.584Z",
"className": "garden",
"hasAdmin": false,
"__type": "Pointer",
"area": "硚口区",
"img": "https://tse4-mmcn.bing.net/th?id=OIP.VB&dpr=1"
},