Readonly
entityThe entity class that is part of the many-to-many relationship. This entity corresponds to one side of the relationship.
Readonly
foreignThe foreign key in the join table that references the partition key of the entity
. This key is crucial for linking records between the associated entities.
Generated using TypeDoc
Represents the metadata for a join table used in many-to-many relationships within the ORM system. This metadata includes the entity class and the foreign key used in the join table.
A join table is an intermediary table that connects two entities in a many-to-many relationship, holding foreign keys that reference the partition keys of each entity.
JoinTableMetadata
encapsulates the details of one side of such a relationship, specifically the entity involved and the foreign key within the join table that points to this entity.Param: entity
The entity class involved in the many-to-many relationship.
Param: foreignKey
The foreign key within the join table that references the entity's partition key.