
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
- my database attribute stuck in processin...
when i created attributes in collection 3 of those attributes become "processing", and they are not updating, the worst thing is that i cant even delete them s...
- Forever Processing Issue
I encountered an issue when creating attributes in the collections . if you create an attribute of type string for example and choose a size of 200 or 250 or a...
- Realtime Disconnects and Error: INVALID_...
Hi! I just want to ask here if there's any workaround with the disconnect issues we're encountering when subscribing to realtime events in react native using ex...
