Strapi beforeupdate passed in only updated fields from query('...').update

We only send the updated fields, while the HTTP request is a PUT method, in reality Strapi is using the PATCH style.

If you need the unchanged data I would recommend making a query to the database:

strapi.query('model').findOne({ id: xxx });

From there you can compare the changes to what currently exists in the database.

2 Likes