You plan to create an Azure Cosmos DB database named db1 with two containers: one for blog posts and one for users. Each blog-post item will include:
- A single blog post
- All comments associated with that blog post
- The names of the users who created the blog post and added the comments
You need to update usernames in the user container without causing data-integrity issues, while minimizing administrative and development effort.
What should the solution include?
SelectIn the user container, implement:
In the blog post container, implement:
Community Discussion