Class HasAssociation<TCreationAttributes, TModelAttributes>

Type Parameters

  • TCreationAttributes extends {}

  • TModelAttributes extends {}

Hierarchy

Constructors

  • Type Parameters

    • TCreationAttributes extends {}

    • TModelAttributes extends {}

    Parameters

    • associatedClassGetter: ModelClassGetter<TCreationAttributes, TModelAttributes>
    • options: HasOneOptions | HasManyOptions
    • association: Association

    Returns HasAssociation<TCreationAttributes, TModelAttributes>

Properties

association: any
options: HasOneOptions | HasManyOptions

Methods

  • Returns string | {
        plural: string;
        singular: string;
    }

  • Returns ModelType<TCreationAttributes, TModelAttributes>

Generated using TypeDoc