I have created an Azure Function using CosmosDB Trigger template as per: this link
It's working fine, I can see updates flowing in from my Collection created in Cosmos DB.
Now the problem is, I want only those documents which are having actual updates. Currently If I update document using code it updates it's timestamp & document comes under update. Although there is no actual Data Update.
My questions:
- How can I only get Actual Updated documents(only those documents whose json fields are modified)?
- How can I also track deleted documents? they are not flowing here as well??
documents which are having actual updates
. It would help if you include an example of the same. – Gaurav Mantri