
I have a collection where one of the attributes is an Array. I want to add a value to this array, and to make it as efficient as possible The simple way would be :
- To get the Array,
- to add the new value to the Array
- to update the document with the new array
but it requires 2 interactions with the database (and if I dont know the ID of the document, 3) I am trying to make it all in a single interaction: Just to add the vew value in the Array with the UpdateDocument function Is it possible?
Thanks,

Add a value to Array in document

Array operations like this aren't available yet

you can achieve this with the help of cloud function.

Thank you

If your issue has been solved, you can mark this post as closed by adding “[SOLVED]” to the beginning of the title
Recommended threads
- Collection Permission issue
I am facing issue in my Pro account. "Add" button is disabled while adding permission in DB collection settings.
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
- Doing the React TMDB movies tutorial, is...
At the point where I created a brand new app on appwrite but cannot instantiate the react platform without cloning a whole other app and doing some ping button ...
