Class UpdateResult
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
ModifiedCount
The number of documents that were modified
[JsonPropertyName("modifiedCount")]
public int ModifiedCount { get; set; }
Property Value
UpsertedId
If an insert was performed, the id of the inserted document
[JsonPropertyName("upsertedId")]
public object UpsertedId { get; set; }