Class PostgresDataChange
Represents a single column change in a Postgres CDC event.
public sealed class PostgresDataChange
- Inheritance
-
PostgresDataChange
- Inherited Members
Properties
ColumnName
Gets the name of the column that changed.
public string ColumnName { get; init; }
Property Value
DataType
Gets the Postgres data type of the column.
public string DataType { get; init; }
Property Value
HasChanged
Gets a value indicating whether the value was actually changed (for updates).
public bool HasChanged { get; }
Property Value
IsPrimaryKey
Gets a value indicating whether this column is part of the primary key.
public bool IsPrimaryKey { get; init; }
Property Value
NewValue
Gets the value after the change (null for deletes).
public object? NewValue { get; init; }
Property Value
OldValue
Gets the value before the change (null for inserts).
public object? OldValue { get; init; }