Table of Contents

Enum MongoDbDataChangeType

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

Represents the type of data change captured from MongoDB Change Streams.

public enum MongoDbDataChangeType
Extension Methods

Fields

Delete = 4

A document was deleted. Maps to Delete.

Drop = 6

A collection was dropped. Maps to Drop.

DropDatabase = 7

A database was dropped. Maps to DropDatabase.

Insert = 1

A document was inserted. Maps to Insert.

Invalidate = 5

A collection or database was dropped, or a rename occurred. Maps to Invalidate.

Rename = 8

A collection was renamed. Maps to Rename.

Replace = 3

A document was replaced. Maps to Replace.

Unknown = 0

Unknown or unsupported operation type. Maps to None.

Update = 2

A document was updated. Maps to Update.

Remarks

This type is retained for backward compatibility. New code should use CdcChangeType from the Excalibur.Cdc package directly, which is the canonical CDC change type shared across all providers.