Category "azure-cosmosdb"

Azure Cosmos DB to fetch paged results along with all records count

The document structure is like this [ { "id": "1234", "SubmittedAnswers": [ { "PlantId": 3, "UniqueQualityId": "3_pe55d74fc5f92b

How does Cosmos DB emulator SSL work in docker compose?

Is it possible to run Cosmos emulator as a docker container and use the instance in another container? I haven't been able to find anything that clearly explain

Sanitizing string parameters in Cosmos DB to avoid SQL injection

I have an application in which a Cosmos DB SQL Query is constructed dynamically, with some parts coming from untrusted user input. These parts are all string pa

WebScraping using Python & Azure : How to run an Azure Function to store pandas dataframe into a CosmoDB?

My porpouse is to automate the aquisition of data from a website. I have my python scripts to scrape tables and i can store it as a dataframe or in a csv,xlsx f

Best way to migrate (and Transform) data from Azure Table Storage to Cosmos DB Sql API

I have a Azure Table that is storing a Customer object with a nested address object as per following. public class Customer { public Guid Id { get; set; }

Best way to migrate (and Transform) data from Azure Table Storage to Cosmos DB Sql API

I have a Azure Table that is storing a Customer object with a nested address object as per following. public class Customer { public Guid Id { get; set; }

Connect Cosmos DB Flow to Power Apps

I want to create a PowerApp to display my Cosmos DB Data in a pretty way and to edit some data to send it back to the Cosmos. To get the data I use a Logic Flo

Dynamic container name when mapping Cosmos DB using EF Core

I have an OData endpoint which query collection of Cosmos entity. The Cosmos DB container name is dynamic so that I cannot use entity.ToContainer("<container

HotChocolate (GraphQL) dynamic schemas and filtering

I'm using HotChocolate for our GraphQL server in .NET and CosmosDb as DB, which is a document database. Sorry for a long post... In our Db we will have one part

How to execute a query in VS Code for Cosmos DB?

I have installed an extension for having access to a Microsoft Azure Cosmos DB in VS Code, and I'm able to see the documents inside as expected. However, I was

Cosmos db - how to combine different results values in one result's particular attributes

I don't how can I explain this question, but suppose I have cosmos db container which look like this Query - select c.Name,c.Value from c where c.Name = "abc"

How do I configure Cosmos DB .NET 3.0 SDK to serialize with camel case?

My .NET POCOs are in ProperCase. My json is in camelCase. How can I configure version 3.0 of the .NET SDK to convert when serializing/deserializing to/from Cosm

How to process a 64 GB CSV file in Pyspark efficiently?

I have a very large CSV file in a blob storage nearly of size 64 GB. I need to do some processing on top of every row and push the data to DB. What should be th

How to get List of Objects with value in array in Spring-Boot CrudRepository

I have an Object defined that has ChildAccountList of Strings as one of the attributes. Is there a findBy method that I can use such that it will return the li

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