Enum MongoDbDataChangeType
Represents the type of data change captured from MongoDB Change Streams.
public enum MongoDbDataChangeType
- Extension Methods
Fields
Delete = 4A document was deleted. Maps to Delete.
Drop = 6A collection was dropped. Maps to Drop.
DropDatabase = 7A database was dropped. Maps to DropDatabase.
Insert = 1A document was inserted. Maps to Insert.
Invalidate = 5A collection or database was dropped, or a rename occurred. Maps to Invalidate.
Rename = 8A collection was renamed. Maps to Rename.
Replace = 3A document was replaced. Maps to Replace.
Unknown = 0Unknown or unsupported operation type. Maps to None.
Update = 2A 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.