Enum CdcChangeType
Specifies the type of change captured by CDC.
public enum CdcChangeType
Fields
Delete = 3An existing row/document was deleted or removed.
Drop = 7A collection or table was dropped.
Used by MongoDB change streams.
DropDatabase = 8A database was dropped.
Used by MongoDB change streams.
Insert = 1A new row/document was inserted or added.
Invalidate = 6The change stream was invalidated (e.g., collection dropped or renamed).
Used by MongoDB change streams.
None = 0No change type specified, or the change type is unknown.
Rename = 9A collection was renamed.
Used by MongoDB change streams.
Replace = 4A document was replaced (full document update, distinct from partial update).
Used by MongoDB and CosmosDB change feeds.
Truncate = 5A table was truncated (all rows removed).
Used by Postgres logical replication.
Update = 2An existing row/document was updated or modified.
Remarks
This is the canonical change type enum shared by all CDC providers. Common operations (Insert, Update, Delete) use the same numeric values across all providers. Provider-specific operations (Replace, Truncate, Invalidate, Drop, etc.) are included for completeness.