Class BelongsToAssociation<TCreationAttributes, TModelAttributes>

Type Parameters

  • TCreationAttributes extends {}

  • TModelAttributes extends {}

Hierarchy

  • BaseAssociation<TCreationAttributes, TModelAttributes>
    • BelongsToAssociation

Constructors

  • Type Parameters

    • TCreationAttributes extends {}

    • TModelAttributes extends {}

    Parameters

    • associatedClassGetter: ModelClassGetter<TCreationAttributes, TModelAttributes>
    • options: BelongsToOptions

    Returns BelongsToAssociation<TCreationAttributes, TModelAttributes>

Properties

options: BelongsToOptions

Methods

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

  • Returns ModelType<TCreationAttributes, TModelAttributes>

Generated using TypeDoc