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.
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 /:
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
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...