prorm API Reference
    Preparing search index...

    Enumeration AssociationType

    The kinds of association between two models.

    Index
    HasOne: "hasOne"

    One row here, at most one there. The foreign key lives on the other table.

    HasMany: "hasMany"

    One row here, many there. The foreign key lives on the other table.

    BelongsTo: "belongsTo"

    The inverse of HasOne/HasMany: the foreign key lives on this table.

    BelongsToMany: "belongsToMany"

    Many on both sides, through a join table.