Page Contents
Home > @loopback/repository > DefaultHasManyThroughRepository > link
DefaultHasManyThroughRepository.link() method
Signature:
link(targetId: TargetID, options?: Options & {
throughData?: DataObject<ThroughEntity>;
throughOptions?: Options;
}): Promise<void>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| targetId | TargetID | |
| options | Options & { throughData?: DataObject<ThroughEntity>; throughOptions?: Options; } |
Returns:
Promise<void>