Skip to main content

TrackPreviousOptions

Whether to include previous column values when PowerSync tracks local changes.

Including old values may be helpful for some backend connector implementations, which is why it can be enabled on per-table or per-columm basis.

Properties

PropertyTypeDescription
columns?string[]When defined, a list of column names for which old values should be tracked.
onlyWhenChanged?booleanWhen enabled, only include values that have actually been changed by an update.