Skip to main content

Function: TrackChanges()

TrackChanges(versions?): (target) => void

Defined in: service-core/src/decorators/ModelDecorators.ts:198

Indicates that the class will track changes for each document update limited to the specified number of versions.

Parameters

versions?

number = -1

The number of versions that will be tracked for each document change. Set to -1 to store all versions. Default value is -1.

Returns

(target) => void