Javascript query API is not returning data in CosmosDB database trigger
I have created a trigger in cosmosDB that will update a collection when another collection is deleted.
Design two containers in Azure Cosmos DB for anonymous and sign-in users
We want to store the user’s click on website into Azure Cosmos DB. We want to design two containers in a single Azure database, SampleDB. One container is to store the documents for anonymous user clicks on product detail page, one container is to store the documents for sign-in user clicks on product detail page. Later if an anonymous user sign in, we add the anonymous user’s product views document into sign-in user’s document container, then delete the document from anonymous user’s document container. The sample anonymous user’s product detail view looks like this: