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.
SELECT day FROM c -
WHERE c.value = "10" OR c.value = "15"
You set the EnableCrossPartitionQuery property to True.
Does this meet the goal?
Ramkid
Highly Voted 4 years, 6 months agojustfordevelopment
Most Recent 3 years, 4 months agoranjitklive
3 years, 4 months agoSST2408
3 years, 7 months agotomatosis
3 years, 7 months agosyu31svc
3 years, 11 months agokkstays
3 years, 12 months agoarifno1
3 years, 11 months agoleo_az300
4 years agoMatiUllah
4 years, 1 month agoAravindITGuy
4 years, 1 month agoTSMRE
4 years, 1 month agonfett
4 years, 2 months agoazurellc
4 years, 2 months agorsaintt
4 years, 3 months agoyaiba
4 years, 4 months agobigngster
4 years agoawsazurelearner
4 years, 5 months agosmoothbrain
4 years, 5 months ago