python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Cosmos DB: how to project properties into array and group them?
Using this sample data consisting of 3 separate documents in the same container:
{
"id" : "doc1",
"manager" : "John",
"country": "Germany&q...
Krumelur
Votes: 0
Answers: 0
How use IS_DEFINED cosmos db function in CreateDocumentQuery method of DocumentClient class?
Normally, I do
var query = client.CreateDocumentQuery<Customer>(collectionUri, feedOptions)
.Where(u => c.orderdate != null).AsDocumentQuery();
Here is the Azure Cosmos db query...
191180rk
Votes: 0
Answers: 1
C# Cosmos DB Patch - insert element into child collection
Trying to add a new item into a parent object's child collection. For example, in the code below, how would one go about adding a new Item to the Items collection?
{
"id": "SalesOrd...
Pietv
Votes: 0
Answers: 1
Set custom "id" field in EF core 3.1 cosmos
Currently with a sample model like
public class Order
{
public Guid Id { get; set; }
public int? TrackingNumber { get; set; }
public string PartitionKey { get; set; }
}
would generate doc...
wenn32
Votes: 0
Answers: 1