UniqueKey creation using annotation cosmos

Deepak Patil 61 Reputation points
2022-02-07T09:29:30.423+00:00

How to create uniqueKey for container using annotation in azure cosmos DB.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,440 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Oury Ba-MSFT 16,076 Reputation points Microsoft Employee
    2022-03-01T01:04:08.753+00:00

    You can use the feature of Nested Partition Key Path in azure-spring-data-cosmos to solve the unique key problem in spring - https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/cosmos/azure-spring-data-cosmos/README.md#nested-partition-key-support.

    178661-image.png

    0 comments No comments