Version: 4.3

Interface: OneToOneOptions<T, O>

Type parameters

Name
T
O

Hierarchy

  • {}

    OneToOneOptions

Properties

inversedBy

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

Defined in packages/core/src/decorators/OneToOne.ts:15


mapToPk

Optional mapToPk: boolean

Defined in packages/core/src/decorators/OneToOne.ts:18


onDelete

Optional onDelete: "cascade" | "no action" | "set null" | "set default" | string

Defined in packages/core/src/decorators/OneToOne.ts:19


onUpdateIntegrity

Optional onUpdateIntegrity: "cascade" | "no action" | "set null" | "set default" | string

Defined in packages/core/src/decorators/OneToOne.ts:20


owner

Optional owner: boolean

Defined in packages/core/src/decorators/OneToOne.ts:14


primary

Optional primary: boolean

Defined in packages/core/src/decorators/OneToOne.ts:17


wrappedReference

Optional wrappedReference: boolean

Defined in packages/core/src/decorators/OneToOne.ts:16

Last updated on by Martin Adámek