How to update string[] property using updateDocument? Does updateDocument supports Query property.
- 0
- Databases
- Web

In the Collection i have addressDetails as string[], basically I want to append the new address into addressDetails[]
let stringAddress=JSON.stringify(data);
this.database.updateDocument(this.DB_ID, this.USERACCOUNT_ID, '6604b6f2bd685e13bb9a', {"addressDetails": stringAddress}).then(result =>{
console.log('Address Updated');
})
also How can i edit the existing addressDetails :string[] attribute?
Or should I use new collection for Address and use relationship between UserAccount and Address Collection?
Recommended threads
- 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 ...
- Is my approach for deleting registered u...
A few weeks ago, I was advised not to use the registered users' id in my web app. Instead, I store the publicly viewable information such as username and email ...
- ❗[Help] Function stuck in "waiting" stat...
Hi Appwrite team 👋 I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
