OData and Cosmos DB

Free Radical

I'm looking to implement OData v4 for as a querying tool in an ASP.NET Core application I'm working on, and our backing persistence store is Cosmos DB. So far, I haven't figured out a way to make OData queries run against the DocumentQuery IQueryable interface without encountering some sort of exception or error.

I was wanting to know if there was a "clean" way to utilize OData against Cosmos Document DB (not the Table API), and if so, how? So far, all I've found is an unofficial library that's using Framework v4.6, but nothing official, and all documentation I've found about implementing OData has almost exclusively been ran against Entity Framework or in-memeory data store.

Free Radical

I know this isn't exactly the most insightful answer to my question, but the correct answer here is really to just not attempt to do this. If you're ever in a position where someone asks you to try to force together two technologies that don't really go together, say no and deal with the consequences.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

async query in cosmos db

分類Dev

Cosmos DB + pyDocumentDB + Databricks

分類Dev

Cosmos DBのODataを使用したページングはサポートされていますか?

分類Dev

Cosmos DB trigger that writes data to another Cosmos DB

分類Dev

Query cosmos db siblings with no childs

分類Dev

Azure Cosmos DB CONTAINSの構文

分類Dev

Azure Cosmos DB CONTAINSの構文

分類Dev

Cosmos db REST API order by with partitioning

分類Dev

Azure Cosmos DB: HTTP 400 in Application Insights

分類Dev

How to structure relationships in Azure Cosmos DB?

分類Dev

Constructing the hashed token signature for cosmos DB

分類Dev

Azure Cosmos DB, Delete IDS (definitely exist)

分類Dev

Microsoft Cosmos DB (DocumentDB API) vs. Cosmos DB (Table API)

分類Dev

Microsoft Cosmos DB(DocumentDB API)とCosmos DB(テーブルAPI)

分類Dev

Azure - Configure disaster RECOVERY and automatic failover for Azure Cosmos DB?

分類Dev

Azure Cosmos DB:ApplicationInsightsのHTTP400

分類Dev

cosmos db, generate authentication key on client for Azure Table endpoint

分類Dev

Cosmos DB: range string index return query error

分類Dev

MaxItemCount feed options property in Cosmos DB doesnt work

分類Dev

Provision throughput on Database level using Table API in cosmos db

分類Dev

GET vs Query on Partition Key and Item Key in Cosmos DB

分類Dev

How to structure many-to-many relationships in cosmos db

分類Dev

Azure Cosmos DB - 'RequestDisallowedByPolicy' error while creating container

分類Dev

Cosmos db SQLAPIの最大クエリ制限

分類Dev

How to compare default Timestamp property in a cosmos DB table

分類Dev

Cosmos DB select with where句、最大日付

分類Dev

SELECT rows between two dates in azure cosmos db

分類Dev

Exception when GetItemQueryIterator() can't find a matching document in Cosmos DB

分類Dev

How to check what service is writing to Azure Cosmos Db?

Related 関連記事

  1. 1

    async query in cosmos db

  2. 2

    Cosmos DB + pyDocumentDB + Databricks

  3. 3

    Cosmos DBのODataを使用したページングはサポートされていますか?

  4. 4

    Cosmos DB trigger that writes data to another Cosmos DB

  5. 5

    Query cosmos db siblings with no childs

  6. 6

    Azure Cosmos DB CONTAINSの構文

  7. 7

    Azure Cosmos DB CONTAINSの構文

  8. 8

    Cosmos db REST API order by with partitioning

  9. 9

    Azure Cosmos DB: HTTP 400 in Application Insights

  10. 10

    How to structure relationships in Azure Cosmos DB?

  11. 11

    Constructing the hashed token signature for cosmos DB

  12. 12

    Azure Cosmos DB, Delete IDS (definitely exist)

  13. 13

    Microsoft Cosmos DB (DocumentDB API) vs. Cosmos DB (Table API)

  14. 14

    Microsoft Cosmos DB(DocumentDB API)とCosmos DB(テーブルAPI)

  15. 15

    Azure - Configure disaster RECOVERY and automatic failover for Azure Cosmos DB?

  16. 16

    Azure Cosmos DB:ApplicationInsightsのHTTP400

  17. 17

    cosmos db, generate authentication key on client for Azure Table endpoint

  18. 18

    Cosmos DB: range string index return query error

  19. 19

    MaxItemCount feed options property in Cosmos DB doesnt work

  20. 20

    Provision throughput on Database level using Table API in cosmos db

  21. 21

    GET vs Query on Partition Key and Item Key in Cosmos DB

  22. 22

    How to structure many-to-many relationships in cosmos db

  23. 23

    Azure Cosmos DB - 'RequestDisallowedByPolicy' error while creating container

  24. 24

    Cosmos db SQLAPIの最大クエリ制限

  25. 25

    How to compare default Timestamp property in a cosmos DB table

  26. 26

    Cosmos DB select with where句、最大日付

  27. 27

    SELECT rows between two dates in azure cosmos db

  28. 28

    Exception when GetItemQueryIterator() can't find a matching document in Cosmos DB

  29. 29

    How to check what service is writing to Azure Cosmos Db?

ホットタグ

アーカイブ