Class MongoDbUpdateDescription
Describes the changes made in an update operation.
public sealed class MongoDbUpdateDescription
- Inheritance
-
MongoDbUpdateDescription
- Inherited Members
Properties
RemovedFields
Gets the names of fields that were removed.
public IReadOnlyList<string> RemovedFields { get; init; }
Property Value
TruncatedArrays
Gets the truncated arrays with their new size.
public IReadOnlyList<MongoDbArrayTruncation> TruncatedArrays { get; init; }
Property Value
Remarks
Available in MongoDB 5.0+.
UpdatedFields
Gets the fields that were updated and their new values.
public BsonDocument? UpdatedFields { get; init; }
Property Value
- BsonDocument