[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/orm](../../README) / [index](../README) / RelationType

# Type Alias: RelationType

> **RelationType** = `"hasMany"` \| `"belongsTo"` \| `"hasOne"` \| `"manyToMany"` \| `"morphTo"` \| `"morphMany"` \| `"morphOne"` \| `"hasManyThrough"` \| `"hasOneThrough"` \| `"morphToMany"` \| `"morphedByMany"`

Defined in: [packages/orm/src/model/relations/RelationRegistry.ts:2](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/relations/RelationRegistry.ts#L2)

Discriminator for every relation kind the ORM supports.
