Category "azure-cosmosdb"

Is it possible to create a new Gremlin Graph DB and Graph using c# code

I have a Azure Cosmos DB account with Gremlin API. I'm using Gremlin.Net to query the db. var gremlinServer = new GremlinServer(hostname, port, enableSsl: tru

azure-cosmos-emulator hangs when I try to create a database

I am on a mac, trying to run the linux azure-cosmos-emulator emulator but every time I start the image and try to create a database, it just hangs and never cre

React executing code before the previous function call has finished

I'm trying to write a record to a database but need to find the next Id in the sequence. I wrote a function to find the highest Id number in the database, incr

Entity Framework Core 5 and CosmosDB SQL API - Include extension method does not work

I have followed the steps from the following EF Core 5 site in order to store and read items from the CosmosDB. Here is the site: https://www.learnentityframewo

Provision throughput on Database level using Table API in cosmos db

I have come across the requirement where I have to choose the API for Cosmos DB. I have gone through with all API's like SQL,Graph, Mongo and Table. Since my c

Azure Stream Analytics CreateOrReplace Transformation Conflict or Bad Request

We are currently streaming data from an Azure Event Hub via Azure Stream Analytics to Cosmos DB. I want to be able to programatically change the query (/ Transf

Azure Cosmos DB - Understanding Partition Key

I'm setting up our first Azure Cosmos DB - I will be importing into the first collection, the data from a table in one of our SQL Server databases. In setting

CosmosDB emulator can't start since port is already in use

I'm giving CosmosDB a chance and so I decided to build an app that uses it, but I'm running into this issue when using the emulator: Port is already in use. I

Azure cosmosdb reservation

I don't understand the sentence "A reservation discount is applied to provisioned throughput in terms of request units per second (RU/s) on an hour-by-hour basi

How atom-record-sequence (ARS) helps CosmosDB to be Multimodel?

Can anyone explain how atom-record-sequence (ARS) works and how it helps CosmosDB to support multiple models without "performance penalties"? So far, the best

Get all the Partition Keys in Azure Cosmos DB collection

I have recently started using Azure Cosmos DB in our project. For the reporting purpose, we need to get all the Partition Keys in the collection. I could not fi

Check if parameter is null in CosmosDB query

How can I check if a parameter is null in @azure/cosmos sdk when querying the database? I've tried the IS_NULL or IS_EMPTY, either breaks the query: await conta

How to order results of a query by the results of an aggregate function in ComosDb?

I use Cosmos Db and I need results to be sorted by the results of a COUNT. Instead of sorting the results each time myself (or create a service for it), I pre

How to prevent data factory from running out Cosmos DB RU/s

Description When I copy data from Storage to CosmosDB by Azure data factory, the Cosmos DB RU/s is full and nobody can use it during this time. I want other ope

Need a direct way of implementing Azure spring data cosmos db query implementation for a nested parameter

Say for example an object in cosmosDb looks like this:- {   att1: val1,   att2: val2,   att3: {   att4: val4,   att5: val5