I want to store some of my values in array of object format in appwrite database after searching a lot I didn't find any solution yet therefore reaching here ,I am building a community mobile app
TL;DR
Developers need to store values in array of object format in Appwrite database using string attribute. One solution is to make it an array, stringify the object, and save it. For updates, fetch the array, parse it, add a new object, stringify it, and update it.
darShan
9 Aug, 2024, 12:09
string attribute > make it array > stringify your object > save it.
for update: fetch the array, parse it, add new object, stringify it > update it.