
There is no method in the documentation which lets us add a single element to a document. The only way is to first get the current array and then add form a new array and send it to the database using updateDocument
method. Is there any better solution to this?

I think you got on the spot. For now, if you want to update array attribute you'll have to concat the current version.
Recommended threads
- CORS error only on tables db api After u...
I've recently updated my self hosted appwrite instance to the 1.8.0 and updated my frontend with the tables db apis but strangely, even if I'm able to log in, g...
- Bug: When creating a table, table name i...
I created a table with a typo. my_taable .... then my code couldn't find it. i updated table name and still couldn't find it. the table name doesn't update. i h...
- unexpected row_invalid_structure error
In images you can see both my code,error, column schema I do have timezone in table schema but still while creating a row i am receving row_invalid_structure e...
