Skip to main content
Version: 4.4

Interface: SerializedPrimaryKeyOptions<T>#

core.SerializedPrimaryKeyOptions

Type parameters#

Name
T

Hierarchy#

Properties#

columnType#

Optional columnType: undefined | string

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


comment#

Optional comment: undefined | string

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


customType#

Optional customType: undefined | Type<any, any>

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


default#

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

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


defaultRaw#

Optional defaultRaw: undefined | string

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


fieldName#

Optional fieldName: undefined | string

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


fieldNames#

Optional fieldNames: undefined | string[]

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


formula#

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

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


hidden#

Optional hidden: undefined | boolean

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


index#

Optional index: undefined | string | boolean

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


lazy#

Optional lazy: undefined | boolean

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


length#

Optional length: undefined | number

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


name#

Optional name: undefined | string

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


nullable#

Optional nullable: undefined | boolean

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


onCreate#

Optional onCreate: undefined | (entity: T) => any

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


onUpdate#

Optional onUpdate: undefined | (entity: T) => any

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


persist#

Optional persist: undefined | boolean

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


primary#

Optional primary: undefined | boolean

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


serializedName#

Optional serializedName: undefined | string

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


serializedPrimaryKey#

Optional serializedPrimaryKey: undefined | boolean

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


serializer#

Optional serializer: undefined | (value: any) => any

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


type#

Optional type: any

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


unique#

Optional unique: undefined | string | boolean

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


unsigned#

Optional unsigned: undefined | boolean

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


version#

Optional version: undefined | boolean

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

Last updated on by renovate[bot]