Web Developer
How can I update an attribute of array type by appending a new item?
Votes
1
Replies
4
Participants
Unknown
Messages
5
Web Developer
How can I update an attribute of array type by appending a new item?
I wonder if you'd need to get the array and add a new element then update the record with the new array.
Web Developer
was my first thought. Limiting requests to appwrite is my goal. As for coding, it feels like I’m writing a novel that never ends!
For sure, I'd be interested to see what the best answer is. Other than what I've put above, to limiting your calls in your frontend, you can setup a function that does this for you, but that would obviously be more work /:
Rank 2: Process
One issue with doing a get and then an update is also that you could run into race conditions. I would love to know if there is better way of doing this