prorm API Reference
    Preparing search index...

    Interface BelongsToManyOptions

    interface BelongsToManyOptions {
        as?: string;
        through: any;
        foreignKey?: string;
        otherKey?: string;
        onDelete?: "CASCADE" | "RESTRICT" | "SET NULL" | "NO ACTION";
        onUpdate?: "CASCADE" | "RESTRICT" | "SET NULL" | "NO ACTION";
        hooks?: boolean;
    }
    Index
    as?: string
    through: any
    foreignKey?: string
    otherKey?: string
    onDelete?: "CASCADE" | "RESTRICT" | "SET NULL" | "NO ACTION"
    onUpdate?: "CASCADE" | "RESTRICT" | "SET NULL" | "NO ACTION"
    hooks?: boolean