Replies: 1 comment 2 replies
-
No, that's not supported so you'll have to iterate over and do it that way 👍🏻 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I used to update multiple items at the same time with different data, just sending an array with id and the data. But now, I am getting an error. I checked the docs and seems that I have to send the keys on the "keys" field, and the data on "data".
https://docs.directus.io/reference/api/items/#update-multiple-items
That's ok when I need to update with the same data, but not with different data. There is a way to do what I want, or I have to iterate my array of items and update one by one?
(I'm using 9.0.0-rc.61)
Beta Was this translation helpful? Give feedback.
All reactions