prorm API Reference
    Preparing search index...

    Interface LineageOptions

    Options for DataLineage.enable()

    interface LineageOptions {
        tableName?: string;
        getUserId?: () => string | number | undefined;
        autoTrack?: boolean;
        trackedFields?: string[];
        integrateWithAudit?: boolean;
    }
    Index
    tableName?: string

    Custom table name for lineage storage. Default: 'DataLineageRecords'

    getUserId?: () => string | number | undefined

    Function to get current user ID

    autoTrack?: boolean

    Whether to automatically track all creates/updates. Default: true

    trackedFields?: string[]

    Fields to track specifically (used with decorator)

    integrateWithAudit?: boolean

    Whether to integrate with AuditLogger. Default: true