dyna-record
    Preparing search index...

    Interface JoinTableCreateOptions<J>

    Options for JoinTable.create

    interface JoinTableCreateOptions<J> {
        condition?: JoinTableCondition<J>;
        referentialIntegrityCheck?: boolean;
    }

    Type Parameters

    • J

      The join table class.

    Hierarchy (View Summary)

    Index

    Properties

    condition?: JoinTableCondition<J>

    Guards on the entities being linked, checked in the same transaction as the link: the link is created only if every guard holds. A guard still requires its row to exist when referentialIntegrityCheck is false. See JoinTableCondition.

    referentialIntegrityCheck?: boolean

    Whether to perform referential integrity checks for foreign key references. When true (default), condition checks are added to verify that referenced entities exist. When false, these condition checks are skipped, allowing updates even if foreign key references don't exist.

    true