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
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...