StaticenableThe model class to track
The Prorm instance
Optional configuration
StaticapplyApply hooks to a model for automatic lineage tracking. Called automatically by enable() when autoTrack is true.
The model class
Optionalconfig: LineageConfig
The lineage configuration
StatictrackTrack a data source for a record. Call this when data is imported or computed.
The model class
The data source type
Optionaldetails: {Additional details about the source
StatictrackTrack a transformation for a record.
The model class
The record ID
The transformation operation
Optionaldetails: {Additional transformation details
StaticgetGet the full lineage chain for a record. Includes provenance and all transformations.
The record ID
The table name
StaticgetGet just the provenance/origin for a record.
The record ID
The table name
StaticgetGet transformation history for a record.
The record ID
The table name
StaticdisableDisable lineage tracking for a model.
The model class
StaticgetGet the lineage model for a model.
The model class
StaticgetGet the transformation model for a model.
The model class
StaticlistList all models with lineage tracking enabled.
StaticisCheck if a model has lineage tracking enabled.
The model class
Enable lineage tracking on a model. Creates necessary tables and registers hooks.