Page Contents
Home > @loopback/repository > HasManyThroughRepository > unlinkAll
HasManyThroughRepository.unlinkAll() method
Remove all association to an existing target model instance
Signature:
unlinkAll(options?: Options & {
throughOptions?: Options;
}): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
options | Options & { throughOptions?: Options; } | A promise which resolves to void |
Returns:
Promise<void>