azure-cosmosdb Questions
7
Solved
How can I delete an individual record from Cosmos DB?
I can select using SQL syntax:
SELECT *
FROM collection1
WHERE (collection1._ts > 0)
And sure enough all documents (analogous to rows?) ...
Biddick asked 22/10, 2017 at 8:15
3
Solved
I upgraded my data layer classlibrary project from .NETCore 2.2 to .NETCore3.1 and also upgraded the Nuget packages like EntityFrameWork Core from 2.2.0 to EFCore 3.1.0.
I then on validating the ...
Radbun asked 10/1, 2020 at 13:5
2
I am on an Intel 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 creates the database. There is no...
Glauconite asked 24/3, 2022 at 17:8
5
Solved
Below is the code that I have:
List<PatchOperation> patchOperations = new List<PatchOperation>();
patchOperations.Add(PatchOperation.Replace("/endpointId", 100));
string id =...
Tendency asked 6/9, 2021 at 7:8
3
I was trying to query a collection, which had few documents. Some of the collections had "Exception" property, where some don't have.
My end query looks some thing like:
Records that do not conta...
Leung asked 8/12, 2017 at 15:49
4
I'm stumped.
I send the following SQL query to my documentDb instance.
{"query":"SELECT SUM(c.clicks), SUM(c.opens), MAX(c._ts), COUNT(c) FROM c WHERE c.clicks > 0"}
I recieve the following ...
Distrust asked 30/8, 2017 at 16:23
3
Solved
Does anyone know of a tool to visualize a graph created in Cosmos DB Graph?
I'm looking for something like Gephi (https://gephi.org/), or the tool that OrientDB or Neo4j use.
I'm looking for some...
Weirdie asked 3/6, 2017 at 22:47
4
Solved
is there an option in Azure to export an existing collection from DocumentDB?
I could only seen an Import option.
Tericaterina asked 9/6, 2015 at 9:27
3
Normally I would launch Azure Cosmos DB Emulator.exe (installed on Windows 10) and it would launch Chrome at https://localhost:8081/_explorer/index.htm saying "Congratulations! Your Azure Cosm...
Steamer asked 4/9, 2022 at 21:22
1
ipaddr="`ifconfig | grep "inet " | grep -Fv 127.0.0.1 | awk '{print $2}' | head -n 1`"
docker pull mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator
docker run \
--publi...
Infusible asked 21/1, 2023 at 4:27
5
This link implies that unique keys can be seen in a Cosmos DB container by looking at the settings. However I can't seem to find them using both the portal and the storage explorer. How can you vie...
Reconstruct asked 26/11, 2018 at 23:7
4
Solved
I've been looking for a authoritative source of azure cosmosdb limits by I can't find one. In particular, I need to know the size limits for a individual item.
Speaking asked 27/7, 2017 at 15:58
3
Solved
What is the idiomatic F# way of handling an asynchronous while loop accumulation?
I'm working with the new (still in preview) Azure Cosmos DB SDK. Querying the database returns a CosmosResultSetIt...
Coma asked 27/3, 2019 at 15:9
2
Solved
With the following image mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest when attempting to start a container either via:
Docker Desktop (Windows)
Or, via the following CLI com...
Aster asked 15/11, 2022 at 3:46
2
Actually I am trying to implement singleton on my C# Azure functions, but the official documentation at https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/azure-functions/manage-connect...
Sporting asked 12/10, 2022 at 13:47
5
Solved
The CosmosDb provider is sending this message:
“Response status code does not indicate success: 503 Substatus: 0 Reason: (The request failed because the client was unable to establish connections...
Aubrey asked 20/2, 2020 at 21:51
2
I am trying to access a CosmosDB collection using Entity Framework Core.
My DB has various data, but the primary key is 'id'
My Model has a subset of this, but uses 'Id' instead of 'id'.
I have c...
Kansas asked 8/6, 2020 at 7:21
2
I have a question regarding the _ts field within the documentdb. How is it determined? My understanding is that when a document is added/altered it gets a new _ts. Are there any chance that two doc...
Anaemic asked 15/12, 2015 at 20:15
8
Solved
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 up the collection, I'm having trouble ...
Frobisher asked 12/7, 2017 at 21:19
6
Solved
I am trying to use the Cosmos DB .NET client to write some code that would clear existing Cosmos database and create a new structure. I want to delete a database with the specified name so that all...
Bordure asked 24/8, 2020 at 22:48
2
Solved
A container has a function called ReadItemAsync. The problem is I do not have the partition key, but only the id of the document. What is the best approach to get just a single item then?
Do I have...
Crashaw asked 9/7, 2020 at 15:37
2
Solved
I'm trying to patch a child object of a Cosmos Db document using the new Partial Document Update feature. However, I can't find a way to do it.
If the document looks like below, how would you updat...
Olivero asked 24/11, 2021 at 13:32
2
Solved
On https://portal.azure.com/ - Cosmos DB Data Explorer, I can execute SQL queries. The result output is 100:
SELECT c.email FROM Clients c
To reduce the number of network round trips required ...
Lethargy asked 3/12, 2019 at 17:43
3
I am trying to write a parameterized query that has IN clause.
For Ex :
Working code
Input string : "'guid1','guid2','guid3'"
public List<Employee> GetEmployeeIds(string ids){
Query...
Monetta asked 27/1, 2022 at 12:22
4
Solved
I have an ARM template which sources the primaryMasterKey of a cosmosDb as follows:
{
"properties": {
"enabled": true,
"siteConfig": {
"appSettings": [
{
"name": "MongoDb:CnnDetails",
"...
Longicorn asked 11/3, 2019 at 18:39
© 2022 - 2024 — McMap. All rights reserved.