mongoloquent
    Preparing search index...

    Class HasManyThrough<T, M, TM>

    Type Parameters

    • T = any
    • M = any
    • TM = any

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    $attributes: Partial<T> = {}
    $collection: string = ""
    $connection: string = ""
    $databaseName: string = ""
    $timezone: string = ""
    $useSoftDelete: boolean = false
    $useTimestamps: boolean = true
    foreignKey: keyof TM
    foreignKeyThrough: keyof M
    localKey: keyof T
    localKeyThrough: keyof TM
    model: Model<T>
    relatedModel: Model<M>
    throughModel: Model<TM>

    Methods