Options
All
  • Public
  • Public/Protected
  • All
Menu

Builds operations needs to be executed for many-to-many relations of the given subjects.

by example: post contains owner many-to-many relation with categories in the property called "categories", e.g. @ManyToMany(type => Category, category => category.posts) categories: Category[] If user adds categories into the post and saves post we need to bind them. This operation requires updation of junction table.

Hierarchy

  • ManyToManySubjectBuilder

Index

Constructors

constructor

Properties

Protected subjects

subjects: Subject[]

Methods

build

  • build(): void

buildForAllRemoval

  • buildForAllRemoval(subject: Subject): void

Protected buildForSubjectRelation

Protected buildJunctionIdentifier

Generated using TypeDoc