You plan to store order data in an Azure Cosmos DB Core (SQL) API account. The data contains information about orders and their associated items. You need to develop a model that supports order read operations. The solution must minimize the number of requests. What should you do?

A. Create a database for orders and a database for order items.
B. Create a single database that contains a container for orders and a container for order items.
C. Create a single database that contains one container. Store orders and order items in separate documents in the container.
D. Create a single database that contains one container. Create a separate document for each order and embed the order items into the order documents.
  Discussion forum

Question
0

Leave an answer