hasManyThrough
Summary
Defines a one-to-many relation from source to target through an intermediate relation.
Signature
function hasManyThrough<source extends AnyTable, target extends AnyTable>(
source: source,
target: target,
relationOptions: HasManyThroughOptions<source, target>,
): Relation<source, target, "many">;
Params
source
target
relationOptions
Through relation configuration.
Returns
A relation descriptor.