vote表: 提供的objectId为 61a0522df21fa4169bce20f9, 设置字段这样 数组 里面2个point指向voteResult表
"results": [
{
"__type": "Pointer",
"className": "voteResult",
"objectId": "61a050f4e7b84562fe6ede02"
},
{
"__type": "Pointer",
"className": "voteResult",
"objectId": "61a050f4e7b84562fe6ede03"
}
]
voteResult表:
比如我使用批量新增接口:里面2条数据都point指向 vote 表同一个id
{
"requests": [
{
"method": "PUT",
"path": "/1.1/classes/voteResult/61a050f4e7b84562fe6ede02",
"body": {
"q1": {
"__type": "Pointer",
"className": "vote",
"objectId": "61a0522df21fa4169bce20f9"
}
}
},
{
"method": "PUT",
"path": "/1.1/classes/voteResult/61a050f4e7b84562fe6ede03",
"body": {
"q1": {
"__type": "Pointer",
"className": "vote",
"objectId": "61a0522df21fa4169bce20f9"
}
}
}
]
}
第二种方式控制台字段变色了 点击可以跳转;
但第一种方式没有变色 就是个数组,里面感觉像字符串 点击不跳转到另一个表
我试了下,控制台字段值虽然不能点击跳转 但是用关联查询能查询到