Files
medusa-store/www/apps/resources/references/dml/dml.Relationship_Methods/page.mdx
2024-07-01 16:02:36 +03:00

17 lines
585 B
Plaintext

---
slug: /references/data-model/relationship-methods
---
import { TypeList } from "docs-ui"
# Relationship Methods - API Reference
The following methods are used to define a relationship between two data models.
## Methods
- [hasOne](../Relationship_Methods/methods/dml.Relationship_Methods.hasOne/page.mdx)
- [belongsTo](../Relationship_Methods/methods/dml.Relationship_Methods.belongsTo/page.mdx)
- [hasMany](../Relationship_Methods/methods/dml.Relationship_Methods.hasMany/page.mdx)
- [manyToMany](../Relationship_Methods/methods/dml.Relationship_Methods.manyToMany/page.mdx)