Table of Contents

Class MongoDbUpdateDescription

Namespace
Excalibur.Cdc.MongoDB
Assembly
Excalibur.Cdc.MongoDB.dll

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

IReadOnlyList<string>

TruncatedArrays

Gets the truncated arrays with their new size.

public IReadOnlyList<MongoDbArrayTruncation> TruncatedArrays { get; init; }

Property Value

IReadOnlyList<MongoDbArrayTruncation>

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