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

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

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [RelationMetadata](./repository.relationmetadata.md)

## RelationMetadata type

A union type describing all possible Relation metadata objects.

<b>Signature:</b>

```typescript
export declare type RelationMetadata = HasManyDefinition | BelongsToDefinition | HasOneDefinition | RelationDefinitionBase;
```

