Describe the bug
strapi.query("aaa").update() only change one data
Steps to reproduce the behavior
await strapi
.query("aaa")
.update({ type:oldType }, { type: newType });
Only the first piece of data is updated, other data whose type is oldType is not updated
Expected behavior
Update all data whose type is oldType to newType
System
- Node.js version: 12.18.0
- NPM version: 6.14
- Strapi version:
- Database: default
- Operating system: Win10