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

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

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [DefaultHasManyRepository](./repository.defaulthasmanyrepository.md) &gt; [getTargetRepository](./repository.defaulthasmanyrepository.gettargetrepository.md)

## DefaultHasManyRepository.getTargetRepository property

<b>Signature:</b>

```typescript
getTargetRepository: Getter<TargetRepository>;
```

