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
- [ENHANCEMENT] Use the custom Next.js dep...
Deployment adapters on Next.js are now stable! This means that we don't have to stick to the limitations of sniffing out build outputs and manually moving or mo...
- NextJS builds sudden runtime_timeout
My builds suddenly stopped working. Activating old prebuilt snapshots work, but redeploying that same code produces builds that throw runtime_timeout FRA region
- Project paused?
Hello, I have two Appwrite projects and I can not resume them for some reason. I'm using the free plan, and I saw in the pricing page that 2 free projects are a...