
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 am facing this error: type 'Null' is ...
When attempting to fetch areas from the area collection, the application throws an error: "type 'Null' is not a subtype of type 'int.'" This issue originates in...
- Adding Domain to Sites [Self Hosted]
I am struggling to get this working. I stood-up a new server and deployed appwrite 1.7.4. I added update .env file _APP_DOMAIN=appwrite.mydomain.com _APP_DOMAI...
- Received duplicate events
I used the React Native SDK to subscribe to `buckets.<ID>.files` on the client side. When the backend creates a file, two events are logged in my client's conso...
