How can we listen to changes (CRUD) in documents related to a particular index?
For now the realtime channels you can subscribe are very broad ones. https://appwrite.io/docs/realtime#channels
So, for your use case you'll probably need to subscribe to the databases.[ID].collections.[ID].documents channel.
Then, You can check the events to see that it matches what you're looking for.
Okay. Thanks @Binyamin
Also, is there any way to create a transaction and then execute it in one go to prevent inconsistencies ?
Not for now, you can upvote it here: https://github.com/appwrite/appwrite/issues/2788
Okay great.
Recommended threads
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...
- Websites hosted on my appwrite sites hav...
Hello, all my websites hosted on appwrite sites are not running I am getting this message "This site can’t be reached drivehub.appwrite.network took too long t...
- Appwrite Auth & Function don't reveal cl...
When I execute a function or sign in with my Flutter app, Appwrite does not show my real IP: instead, it seems that Appwrite shows Fastly CDN IP address.