Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure Cosmos DB database that contains a container named Container1. The partition key for Container1 is set to /day. Container1 contains the items shown in the following table.
You need to programmatically query Azure Cosmos DB and retrieve Item1 and Item2 only.
Solution: You run the following query.
You set the EnableCrossPartitionQuery property to True.
Does this meet the goal?
MKA1976
Highly Voted 4 years, 3 months agoGetulioJr
3 years, 11 months agoGetulioJr
3 years, 11 months agorocrock
Highly Voted 4 years, 3 months agoburock
Most Recent 3 years, 1 month agotomatosis
3 years, 4 months agopoplovic
3 years, 6 months agochris009
3 years, 7 months agotteesstt
3 years, 8 months agosyu31svc
3 years, 8 months agokumarts
3 years, 8 months agokkstays
3 years, 9 months agolaplaceliu
3 years, 9 months agoMatiUllah
3 years, 10 months agoMkbala
3 years, 10 months agokharangarh
3 years, 10 months agoAravindITGuy
3 years, 10 months agoAmit3
3 years, 11 months agoTSMRE
3 years, 11 months agoAlexD332
3 years, 11 months ago