
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
- how many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
- Relationships restricted to a max depth ...
When I do query like: ``` await _databases.listDocuments( databaseId: AppwriteConfig.DATABASE_ID, collectionId: AppwriteConfig.SERVICES_COLLECTI...
- How can we add more than 8 attributes in...
Hey, when I tried to add attribute in my collection it showed me this Error "The maximum number or size of attributes for this collection has been reached." How...
