---
lang: en
title: 'API docs: repository.hasmanyrepositoryfactory'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository.hasmanyrepositoryfactory.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [HasManyRepositoryFactory](./repository.hasmanyrepositoryfactory.md)

## HasManyRepositoryFactory type

<b>Signature:</b>

```typescript
export declare type HasManyRepositoryFactory<Target extends Entity, ForeignKeyType> = (fkValue: ForeignKeyType) => HasManyRepository<Target>;
```

