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

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

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [RelationType](./repository.relationtype.md)

## RelationType enum

<b>Signature:</b>

```typescript
export declare enum RelationType 
```

## Enumeration Members

|  Member | Value | Description |
|  --- | --- | --- |
|  belongsTo | <code>&quot;belongsTo&quot;</code> |  |
|  embedsMany | <code>&quot;embedsMany&quot;</code> |  |
|  embedsOne | <code>&quot;embedsOne&quot;</code> |  |
|  hasMany | <code>&quot;hasMany&quot;</code> |  |
|  hasOne | <code>&quot;hasOne&quot;</code> |  |
|  referencesMany | <code>&quot;referencesMany&quot;</code> |  |
|  referencesOne | <code>&quot;referencesOne&quot;</code> |  |


