Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BackReferenceOptions<T>

Type parameters

  • T

Hierarchy

  • BackReferenceOptions

Index

Properties

Properties

Optional mappedBy

mappedBy: T extends ClassType<infer K> ? keyof K : ""

A reference/backReference can define which reference on the other side reference back. This is necessary when multiple outgoing references to the same

Optional via

via: ClassType<any> | ForwardRefFn<ClassType<any>>

Necessary for normalised many-to-many relations. This defines the class of the pivot table/collection.

Generated using TypeDoc