Libraries
    Preparing search index...

    Interface RelationSpecInternal

    Relation metadata stored via .hasMany(), .belongsTo(), etc.

    interface RelationSpec {
        foreignKey?: any;
        name: string;
        schema: any;
        through?: { foreignKey: string; localKey: string; table: string };
        type: "belongsTo" | "hasOne" | "hasMany" | "belongsToMany";
    }
    Index

    Properties

    foreignKey?: any
    name: string
    schema: any
    through?: { foreignKey: string; localKey: string; table: string }
    type: "belongsTo" | "hasOne" | "hasMany" | "belongsToMany"