The name of the join table used to facilitate the many-to-many relationship between entities. This table contains the foreign keys that link the related entities together.
The property name on the source entity that holds or references the related entity or entities. This name is used within the source entity's class definition to access the related entity.
Note: This class is abstract and cannot be instantiated directly. Instead, it should be extended by specific relationship metadata classes that define concrete types of relationships.
The entity class that is the target of the relationship. This specifies the class of the entity on the "other side" of the relationship.
A literal string indicating the type of the relationship as "HasAndBelongsToMany". This helps in distinguishing between different types of relationships within the ORM.
Generated using TypeDoc
Represents the metadata for a "HasAndBelongsToMany" relationship metadata within the ORM system.
Param: item
An instance of
RelationshipMetadata
containing the initial settings for the relationship. This can include properties likejoinTableName
, which are specific to many-to-many relationships.