Hello, i was reading the documentation but can't find this. I just want to check whether it is possible to set up a function event to be triggered when there is an update to a specific document's attribute.
For example, an attribute named "status" gets updated from true to false.
Nope, Events are document based only.
A quick workaround would be to create a second flags collection that will have only, for example:
- option id
- status
And listen to events for that small collection.
thanks @Binyamin for the workaround 🙂
[SOLVED] Trigger function by specific update to an attribute of a document
Recommended threads
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...
- Problem with Google Workspace at DNS Rec...
Hello, I bought a domain at Namecheap, and Google Workspace used to work there, but now that I switched from Custom DNS to Appwrite's nameservers, it doesn't w...