data Rotor::ThroughKeys(join: Type[Rotor::Model], owner_key: Symbol, target_key: Symbol, target_pk: Symbol)

The keys of a has_many ..., through: (a join model's): the join model, its column that holds the owner's key and the one that holds the target's, and the target's primary key.

/home/runner/work/rotor/rotor/src/association.qz:112

Methods

def to_h -> Hash[Symbol, Object]

The fields as a Hash, by name.

/home/runner/work/rotor/rotor/src/association.qz:112

def with(*, join: Type[Rotor::Model] = …, owner_key: Symbol = …, target_key: Symbol = …, target_pk: Symbol = …) -> Rotor::ThroughKeys

A copy with the fields given replaced.

/home/runner/work/rotor/rotor/src/association.qz:112

def join -> Type[Rotor::Model]

/home/runner/work/rotor/rotor/src/association.qz:112

def owner_key -> Symbol

/home/runner/work/rotor/rotor/src/association.qz:112

def target_key -> Symbol

/home/runner/work/rotor/rotor/src/association.qz:112

def target_pk -> Symbol

/home/runner/work/rotor/rotor/src/association.qz:112