Version: 4.3

Interface: EntityProperty<T>

Type parameters

NameTypeDefault
TAnyEntity<T>any

Hierarchy

  • EntityProperty

Properties

array

Optional array: boolean

Defined in packages/core/src/typings.ts:134


cascade

cascade: Cascade[]

Defined in packages/core/src/typings.ts:163


columnTypes

columnTypes: string[]

Defined in packages/core/src/typings.ts:129


comment

Optional comment: string

Defined in packages/core/src/typings.ts:184


customType

customType: Type<any>

Defined in packages/core/src/typings.ts:130


default

Optional default: string | number | boolean | null

Defined in packages/core/src/typings.ts:140


defaultRaw

Optional defaultRaw: string

Defined in packages/core/src/typings.ts:141


eager

Optional eager: boolean

Defined in packages/core/src/typings.ts:159


embeddable

embeddable: Constructor<T>

Defined in packages/core/src/typings.ts:145


embedded

Optional embedded: [string, string]

Defined in packages/core/src/typings.ts:144


embeddedProps

embeddedProps: Dictionary<EntityProperty>

Defined in packages/core/src/typings.ts:146


entity

entity: () => EntityName<T>

Defined in packages/core/src/typings.ts:126


enum

Optional enum: boolean

Defined in packages/core/src/typings.ts:156


fieldNameRaw

Optional fieldNameRaw: string

Defined in packages/core/src/typings.ts:139


fieldNames

fieldNames: string[]

Defined in packages/core/src/typings.ts:138


fixedOrder

Optional fixedOrder: boolean

Defined in packages/core/src/typings.ts:174


fixedOrderColumn

Optional fixedOrderColumn: string

Defined in packages/core/src/typings.ts:175


formula

Optional formula: (alias: string) => string

Defined in packages/core/src/typings.ts:142


getter

Optional getter: boolean

Defined in packages/core/src/typings.ts:161


getterName

Optional getterName: keyof T

Defined in packages/core/src/typings.ts:162


hidden

Optional hidden: boolean

Defined in packages/core/src/typings.ts:155


index

Optional index: boolean | string

Defined in packages/core/src/typings.ts:148


inherited

Optional inherited: boolean

Defined in packages/core/src/typings.ts:151


inverseJoinColumns

inverseJoinColumns: string[]

Defined in packages/core/src/typings.ts:178


inversedBy

inversedBy: string

Defined in packages/core/src/typings.ts:171


items

Optional items: (number | string)[]

Defined in packages/core/src/typings.ts:157


joinColumns

joinColumns: string[]

Defined in packages/core/src/typings.ts:177


lazy

Optional lazy: boolean

Defined in packages/core/src/typings.ts:133


length

Optional length: any

Defined in packages/core/src/typings.ts:135


mapToPk

Optional mapToPk: boolean

Defined in packages/core/src/typings.ts:153


mappedBy

mappedBy: string

Defined in packages/core/src/typings.ts:172


name

name: string & keyof T

Defined in packages/core/src/typings.ts:125


nullable

Optional nullable: boolean

Defined in packages/core/src/typings.ts:150


object

Optional object: boolean

Defined in packages/core/src/typings.ts:147


onCreate

Optional onCreate: (entity: T) => any

Defined in packages/core/src/typings.ts:165


onDelete

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

Defined in packages/core/src/typings.ts:167


onUpdate

Optional onUpdate: (entity: T) => any

Defined in packages/core/src/typings.ts:166


onUpdateIntegrity

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

Defined in packages/core/src/typings.ts:168


orderBy

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

Defined in packages/core/src/typings.ts:173


orphanRemoval

Optional orphanRemoval: boolean

Defined in packages/core/src/typings.ts:164


owner

owner: boolean

Defined in packages/core/src/typings.ts:170


persist

Optional persist: boolean

Defined in packages/core/src/typings.ts:154


pivotTable

pivotTable: string

Defined in packages/core/src/typings.ts:176


prefix

Optional prefix: string | boolean

Defined in packages/core/src/typings.ts:143


primary

primary: boolean

Defined in packages/core/src/typings.ts:131


reference

reference: ReferenceType

Defined in packages/core/src/typings.ts:136


referencedColumnNames

referencedColumnNames: string[]

Defined in packages/core/src/typings.ts:179


referencedPKs

referencedPKs: string[]

Defined in packages/core/src/typings.ts:181


referencedTableName

referencedTableName: string

Defined in packages/core/src/typings.ts:180


serializedName

Optional serializedName: string

Defined in packages/core/src/typings.ts:183


serializedPrimaryKey

serializedPrimaryKey: boolean

Defined in packages/core/src/typings.ts:132


serializer

Optional serializer: (value: any) => any

Defined in packages/core/src/typings.ts:182


setter

Optional setter: boolean

Defined in packages/core/src/typings.ts:160


strategy

Optional strategy: LoadStrategy

Defined in packages/core/src/typings.ts:169


targetMeta

Optional targetMeta: EntityMetadata

Defined in packages/core/src/typings.ts:128


type

type: string

Defined in packages/core/src/typings.ts:127


unique

Optional unique: boolean | string

Defined in packages/core/src/typings.ts:149


unsigned

unsigned: boolean

Defined in packages/core/src/typings.ts:152


userDefined

Optional userDefined: boolean

Defined in packages/core/src/typings.ts:185


version

Optional version: boolean

Defined in packages/core/src/typings.ts:158


wrappedReference

Optional wrappedReference: boolean

Defined in packages/core/src/typings.ts:137

Last updated on by Martin Adámek