Class JoinTable<T, K>Abstract

Abstract class representing a join table for HasAndBelongsToMany relationships. This class should be extended for specific join table implementations. It is virtual and not persisted to the database but manages the BelongsToLinks in each related entity's partition.

Example:

class ExampleJoinTable extends JoinTable {
public exampleId1: ForeignKey;
public exampleId2: ForeignKey;
}

Type Parameters

Constructors

Properties

type1: EntityClass<T>
type2: EntityClass<K>

Methods

Generated using TypeDoc