Member Junction
    Preparing search index...

    Options for cascade delete generation.

    interface CascadeDeleteContext {
        fkField: EntityFieldInfo;
        operation: "update" | "delete";
        parentEntity: EntityInfo;
        relatedEntity: EntityInfo;
    }
    Index

    Properties

    The FK field on the related entity pointing to the parent

    operation: "update" | "delete"

    The operation to perform: 'delete' cascades by deleting records, 'update' sets the FK to NULL

    parentEntity: EntityInfo

    The parent entity being deleted

    relatedEntity: EntityInfo

    The related entity whose records must be cascaded