activemodel / kales.activemodel / Association

Association

interface Association

Inheritors

BelongsToAssociation

interface BelongsToAssociation<T : ApplicationRecord> : Association

Represents an association where a model A's table contains a foreign key to another model B's ApplicationRecord object, in a "A belongs to B" fashion.

HasManyAssociation

interface HasManyAssociation<F : ApplicationRecord, T : ApplicationRecord> : MutableCollection<T>, Association

Represents a one-to-many association between models F and T respectively