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 id FROM c -
WHERE c.day = "Mon" OR c.day = "Tue"
You set the EnableCrossPartitionQuery property to False.
Does this meet the goal?
Kasurot
Highly Voted 4 years, 5 months agomalyaban
4 years, 3 months agoJinder
Highly Voted 4 years, 5 months agojustfordevelopment
Most Recent 3 years, 3 months agojadepe
3 years, 6 months agosyu31svc
3 years, 9 months agoBeuz
3 years, 3 months agotteesstt
3 years, 9 months agokkstays
3 years, 10 months agonetwork_zeal
3 years, 10 months agoleo_az300
3 years, 10 months agopentium75
3 years, 11 months agoMatiUllah
3 years, 11 months agoakp1000
3 years, 11 months agoAravindITGuy
3 years, 11 months agonfett
4 years agoazurellc
4 years agoskr123
4 years, 2 months agoAustinY
4 years, 3 months ago