
I have looked at docs to see how to do it but it give no info on the formating of the data so that the document knows what attribute to update https://appwrite.io/docs/client/databases?sdk=web-default#databasesUpdateDocument

We added minimal support for updating attributes in 1.3. Are you on cloud?

No self hosting

Wait you want to update a document or an attribute?

I want to update the document data for an attribute?

Like WaiverId
is null and I want to update it to a collection id

"64502243369b884d71f8",
"647295a5228d3bd685da",
`${test}`,
`${result.$id}`
);```

This is what I have

do I need to specify the attribute

You pass it as part of the data parameter. Just like creating a document

Of course

So like this const update = {
WaiverId: result.$id,
};

TY I got it! Your amazing!

[SOLVED] How to update attribute in document
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...
