Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Azure Cosmos DB with MongoDB API #32

Open
raj-netapp opened this issue Dec 10, 2021 · 0 comments
Open

Support for Azure Cosmos DB with MongoDB API #32

raj-netapp opened this issue Dec 10, 2021 · 0 comments

Comments

@raj-netapp
Copy link

Team,

We need a support for Azure Cosmos DB with .NET Mongo DB driver.
Ours is a multi-tenancy architecture, so we are going with sharded collections - hence there is a need to have the below properties in all the data models.

  1. Type - Type of the document - Here we are trying to combine multiple types of document into a single collection as CosmosDB has a limitation on the number of collections.
  1. PK (Partition Key) - TenantID + Type - Used for the logical separation of the data. TenantID will be passed from the application.

Thanks,
Raj.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant