Version: 4.2

Interface: ManyToManyOptions<T, O>

Type parameters#

Name
T
O

Hierarchy#

Properties#

cascade#

• Optional cascade: Cascade[]

Inherited from ReferenceOptions.cascade

Defined in packages/core/src/decorators/Property.ts:67


columnType#

• Optional columnType: string

Inherited from __type.columnType

Defined in packages/core/src/decorators/Property.ts:42


comment#

• Optional comment: string

Inherited from __type.comment

Defined in packages/core/src/decorators/Property.ts:62


customType#

• Optional customType: Type<any>

Inherited from __type.customType

Defined in packages/core/src/decorators/Property.ts:41


default#

• Optional default: string | string[] | number | number[] | boolean | null

Inherited from __type.default

Defined in packages/core/src/decorators/Property.ts:47


defaultRaw#

• Optional defaultRaw: string

Inherited from __type.defaultRaw

Defined in packages/core/src/decorators/Property.ts:48


eager#

• Optional eager: boolean

Inherited from ReferenceOptions.eager

Defined in packages/core/src/decorators/Property.ts:68


entity#

• Optional entity: string | () => EntityName<T>

Inherited from ReferenceOptions.entity

Defined in packages/core/src/decorators/Property.ts:66


fieldName#

• Optional fieldName: string

Inherited from __type.fieldName

Defined in packages/core/src/decorators/Property.ts:39


fieldNames#

• Optional fieldNames: string[]

Inherited from __type.fieldNames

Defined in packages/core/src/decorators/Property.ts:40


fixedOrder#

• Optional fixedOrder: boolean

Defined in packages/core/src/decorators/ManyToMany.ts:28


fixedOrderColumn#

• Optional fixedOrderColumn: string

Defined in packages/core/src/decorators/ManyToMany.ts:29


formula#

• Optional formula: string | (alias: string) => string

Inherited from __type.formula

Defined in packages/core/src/decorators/Property.ts:49


hidden#

• Optional hidden: boolean

Inherited from __type.hidden

Defined in packages/core/src/decorators/Property.ts:53


index#

• Optional index: boolean | string

Inherited from __type.index

Defined in packages/core/src/decorators/Property.ts:55


inverseJoinColumn#

• Optional inverseJoinColumn: string

Defined in packages/core/src/decorators/ManyToMany.ts:33


inverseJoinColumns#

• Optional inverseJoinColumns: string[]

Defined in packages/core/src/decorators/ManyToMany.ts:34


inversedBy#

• Optional inversedBy: string & keyof T | (e: T) => any

Defined in packages/core/src/decorators/ManyToMany.ts:25


joinColumn#

• Optional joinColumn: string

Defined in packages/core/src/decorators/ManyToMany.ts:31


joinColumns#

• Optional joinColumns: string[]

Defined in packages/core/src/decorators/ManyToMany.ts:32


lazy#

• Optional lazy: boolean

Inherited from __type.lazy

Defined in packages/core/src/decorators/Property.ts:57


length#

• Optional length: number

Inherited from __type.length

Defined in packages/core/src/decorators/Property.ts:44


mappedBy#

• Optional mappedBy: string & keyof T | (e: T) => any

Defined in packages/core/src/decorators/ManyToMany.ts:26


name#

• Optional name: string

Inherited from __type.name

Defined in packages/core/src/decorators/Property.ts:38


nullable#

• Optional nullable: boolean

Inherited from __type.nullable

Defined in packages/core/src/decorators/Property.ts:50


onCreate#

• Optional onCreate: (entity: T) => any

Inherited from __type.onCreate

Defined in packages/core/src/decorators/Property.ts:45


onUpdate#

• Optional onUpdate: (entity: T) => any

Inherited from __type.onUpdate

Defined in packages/core/src/decorators/Property.ts:46


orderBy#

• Optional orderBy: { [field:string]: QueryOrder; }

Defined in packages/core/src/decorators/ManyToMany.ts:27


owner#

• Optional owner: boolean

Defined in packages/core/src/decorators/ManyToMany.ts:24


persist#

• Optional persist: boolean

Inherited from __type.persist

Defined in packages/core/src/decorators/Property.ts:52


pivotTable#

• Optional pivotTable: string

Defined in packages/core/src/decorators/ManyToMany.ts:30


primary#

• Optional primary: boolean

Inherited from __type.primary

Defined in packages/core/src/decorators/Property.ts:58


referenceColumnName#

• Optional referenceColumnName: string

Defined in packages/core/src/decorators/ManyToMany.ts:35


serializedName#

• Optional serializedName: string

Inherited from __type.serializedName

Defined in packages/core/src/decorators/Property.ts:61


serializedPrimaryKey#

• Optional serializedPrimaryKey: boolean

Inherited from __type.serializedPrimaryKey

Defined in packages/core/src/decorators/Property.ts:59


serializer#

• Optional serializer: (value: any) => any

Inherited from __type.serializer

Defined in packages/core/src/decorators/Property.ts:60


strategy#

• Optional strategy: LoadStrategy

Inherited from ReferenceOptions.strategy

Defined in packages/core/src/decorators/Property.ts:69


type#

• Optional type: "string" | "number" | "boolean" | "bigint" | "ObjectId" | string | unknown | bigint | Date | Constructor<Type<any>> | Type<any>

Inherited from __type.type

Defined in packages/core/src/decorators/Property.ts:43


unique#

• Optional unique: boolean | string

Inherited from __type.unique

Defined in packages/core/src/decorators/Property.ts:56


unsigned#

• Optional unsigned: boolean

Inherited from __type.unsigned

Defined in packages/core/src/decorators/Property.ts:51


version#

• Optional version: boolean

Inherited from __type.version

Defined in packages/core/src/decorators/Property.ts:54

Last updated on by Renovate Bot