Table of Contents

Class UpdateResult

Namespace
DataStax.AstraDB.DataApi.Core.Results
Assembly
DataStax.AstraDB.DataApi.dll

The results of an update operation

public class UpdateResult
Inheritance
UpdateResult
Inherited Members

Properties

MatchedCount

The number of documents that matched the query

[JsonPropertyName("matchedCount")]
public int MatchedCount { get; set; }

Property Value

int

ModifiedCount

The number of documents that were modified

[JsonPropertyName("modifiedCount")]
public int ModifiedCount { get; set; }

Property Value

int

UpsertedId

If an insert was performed, the id of the inserted document

[JsonPropertyName("upsertedId")]
public object UpsertedId { get; set; }

Property Value

object