TrackPreviousValuesOptions

data class TrackPreviousValuesOptions(val columnFilter: List<String>? = null, val onlyWhenChanged: Boolean = false)

Options to include old values in CrudEntry.previousValue for update statements.

These options are enabled by passing them to a non-local Table constructor.

Constructors

Link copied to clipboard
constructor(columnFilter: List<String>? = null, onlyWhenChanged: Boolean = false)

Properties

Link copied to clipboard
val columnFilter: List<String>? = null

A filter of column names for which updates should be tracked.

Link copied to clipboard

Whether to only include old values when they were changed by an update, instead of always including all old values,