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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...