dyna-record
    Preparing search index...

    Interface HasAndBelongsToManyProps<T, K, J, L>

    interface HasAndBelongsToManyProps<
        T extends default,
        K extends default,
        J extends JoinTable<T, K>,
        L extends JoinTable<K, T>,
    > {
        targetKey: TargetKey<T, K>;
        through: ThroughFunction<J> | ThroughFunction<L>;
    }

    Type Parameters

    Index

    Properties

    Properties

    targetKey: TargetKey<T, K>

    The key of the model to add an association to.

    The JoinTable properties this relationship is associated through