dapr / docs

Dapr user documentation, used to build docs.dapr.io

Home Page:https://docs.dapr.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CosmosDb query

qxecutioner opened this issue · comments

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/

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.

@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.

@qxecutioner - Hopefully the replies above answer this.