- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
ManyToManyOptions
ManyToManyOptions: RelationshipOptions & object
| object
mappedBy#
Optional
mappedBy: string
The name of the relationship as defined in the other
data model. This is only required by the belongsTo
and manyToMany
relationship method.
pivotTable#
Optional
pivotTable: string
The name of the pivot table created in the database for this relationship.
pivotEntity#
Optional
pivotEntity: () => DmlEntity<any, any>
A function that returns the data model representing the pivot table created in the database for this relationship.
Was this page helpful?