Page Contents

Home > @loopback/repository > DefaultHasManyRepository > find

DefaultHasManyRepository.find() method

Signature:

find(filter?: Filter<TargetEntity>, options?: Options): Promise<TargetEntity[]>;

Parameters

Parameter Type Description
filter Filter<TargetEntity> (Optional)
options Options (Optional)

Returns:

Promise<TargetEntity[]>