Options
All
  • Public
  • Public/Protected
  • All
Menu

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

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

note: this class shares lot of things with OneToOneInverseSideOperationBuilder, so when you change this class make sure to reflect changes there as well.

Hierarchy

  • OneToManySubjectBuilder

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected subjects

subjects: Subject[]

Methods

build

  • build(): void

Protected buildForSubjectRelation

Generated using TypeDoc