Azure Cosmos DB
An Azure NoSQL database service for app development.
1,061 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
How to get item from cosmos DB using SDK v3 with out providing partition key, its giving below error
Thanks,
Sravan kumar
able to find the answer :
we have to pass "PartitionKey.None" in the place of partition key.
example:
var document = await container.ReadItemAsync<JObject>(iD, PartitionKey.None);
Thanks,
Sravan kumar