Hello,
if I'm subscribed to changes in a collection like this:
databases.${database}.collections.usersRelations.documents
is there an easy/better way how I can tell if a specific document was created/updated/deleted?
Or do I just need to check if for example databases.${database}.collections.usersRelations.documents.*.create
event is inside of the response.events?
TL;DR
The user wants to know how to determine if a document was created, updated, or deleted in a specific channel. The suggested solution is to check the events for the presence of ".create", ".update", or ".delete" at the end. The user also asks if there is a better way and if they need to check for specific events in the response.