Member Junction
    Preparing search index...
    interface IRecordHistoryReader {
        Load(
            entity: AssemblyEntityInfo,
            keys: readonly string[],
            fields: readonly string[],
            policy: ChangeHistoryPolicy,
            now: Date,
        ): Promise<EntityHistory>;
        LoadDeletedChildren(
            entity: AssemblyEntityInfo,
            foreignKeyField: string,
            ownerKeys: readonly string[],
        ): Promise<readonly DeletedChildRecord[]>;
    }

    Implemented by

    Index

    Methods

    • The records of a child entity whose change rows end in a Delete and any of whose change rows records one of ownerKeys (compared lower-cased) in foreignKeyField: the children a windowed aggregate over those owners could have read on a past day although no current row is left. A record re-owned before its deletion is included when it was ever held by one of the owners, so the stable-value rule judges the move as it does a present child's. Whether a record still has a current row is the caller's to check.

      Parameters

      Returns Promise<readonly DeletedChildRecord[]>