Loading...
Was this page helpful?
ManyToManyOptions: RelationshipOptions & object
| object
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.
Optional
pivotTable: string
The name of the pivot table created in the database for this relationship.
Optional
joinColumn: string
| string
[]
The column name in the pivot table that for the current entity
Optional
inverseJoinColumn: string
| string
[]
The column name in the pivot table for the opposite entity
Optional
pivotEntity: () => DmlEntity<any, any>
A function that returns the data model representing the pivot table created in the database for this relationship.