We do know that we can set the value for this attribute can be an array. In instance, we have List of String with the name of followers, and then currently in this specific document it have this value ['Mosh','Josh']. Now what if in client side I want to add another element we can call it 'Tosh' as a new followers. So what function or how can we do this to upload this new element? Hence, if we successuly update the document then the followers' attribute we will have ['Mosh','Josh','Tosh'].
Summary
The user is looking for a way to upload a new element for a specific attribute in the Appwrite platform. Currently, Appwrite does not have any array operations implemented. However, there is a workaround suggested by providing the full updated value or using a merge operation. The merge operation can be achieved by using the `set` method with the `{ merge: true }` option in Firebase Firestore. It is recommended to track the progress of this feature request on the Appwrite GitHub repository. For now, the solution is to replace the attribute value with the updated array or use a merge operation.