Reputation: 1038
When I'm trying to create unique Index on Azure DocumentDB (https://azure.microsoft.com/en-us/documentation/articles/documentdb-protocol-mongodb/) I get following error:
Is there some way to get around this problem without using client code logic?
Upvotes: 0
Views: 1351
Reputation: 3684
Azure MongoDB has implemented a unique keys feature so using a workaround is not longer needed in many cases. You can find the documentation here. But you define unique keys only when you create an Azure Cosmos container and a unique key is scoped to a logical partition. Some other limitations can be found in the documentation.
Upvotes: 1