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

CosmosDb query #4211

Closed
qxecutioner opened this issue Jun 17, 2024 · 3 comments
Closed

CosmosDb query #4211

qxecutioner opened this issue Jun 17, 2024 · 3 comments
Labels
content/missing-information More information requested or needed

Comments

@qxecutioner
Copy link

Problem: There should be docs on how querying works on CosmosDB

Description:
Provide all options and documentation on querying CosmosDB

Where to place:
https://docs.dapr.io/reference/components-reference/supported-state-stores/setup-azure-cosmosdb/

@qxecutioner qxecutioner added the content/missing-information More information requested or needed label Jun 17, 2024
@WhitWaldo
Copy link
Contributor

Dapr isn't an ORM and doesn't provide any sort of rich query system for state management; rather, it's simply providing simple key/value state interactions. While there exists an query API documented here for all supporting state stores containing JSON data, it's in a permanent alpha state and is no longer being iterated on.

My recommendation is that if you need to create and submit SQL queries against Cosmos or another database, you use their SDK directly in your microservice.

@hhunter-ms
Copy link
Collaborator

@qxecutioner The Azure Cosmos DB documentation provides several articles for querying Cosmos DB (type 'query' in the 'Filter by title' bar to narrow down). Hopefully that helps. We try not to duplicate official documentation from AWS, Google, Azure, etc. in the Dapr docs.

@msfussell
Copy link
Member

@qxecutioner - Hopefully the replies above answer this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content/missing-information More information requested or needed
Projects
None yet
Development

No branches or pull requests

4 participants