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
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...
- Quota not resetting
hi, im using appwrite's free tier plani hit my read limts last month and the billing cycle said it would reset on june 4th but that is today, the billing cycle ...
- Request for temporary 3 to 4 hours datab...
Hi Appwrite Team, I hope you are doing well.We are an early-stage startup currently running on Appwrite Cloud. We have unfortunately exhausted our database rea...