System Information
- Strapi Version: 4.14.2
- Operating System: linux
- Database: mysql
- Node Version: 16
- NPM Version:
- Yarn Version:
mutation code:
mutation updateFollows (
$updateUsersPermissionsUserId: ID!,
$data: UsersPermissionsUserInput!,
){
updateUsersPermissionsUser(id: $updateUsersPermissionsUserId, data: $data
){
data{
id
attributes{
follows {
data {
id
}
}
}
}
}
}
update_parmas is:
{
"updateUsersPermissionsUserId": 1,
"data": {
"follows": [1,2,3,4]
}
}
if I want push new id 5 to follows,
i can set “follows”: [1,2,3,4,5],
ofcs it worked well,
but my question is:
how to push 5,not renew follows array,
because the old data of follows maybe have follows.length > 10000000000,I can’t get them all and renew a new array and set it