Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TypeOrmPropertyRef

Hierarchy

  • DefaultPropertyRef
    • TypeOrmPropertyRef

Index

Constructors

constructor

Properties

cardinality

cardinality: number | IMinMax

column

column: ColumnMetadataArgs = null

embedded

embedded: EmbeddedMetadataArgs = null

Readonly metaType

metaType: METADATA_TYPE

Readonly name

name: string

namespace

namespace: string

Readonly object

object: IClassRef

reference

reference: boolean

relation

relation: RelationMetadataArgs = null

targetRef

targetRef: IClassRef

Accessors

identifier

  • get identifier(): boolean

machineName

  • get machineName(): string
  • Returns string

ormtype

  • get ormtype(): any

storingName

  • get storingName(): any
  • Returns any

Methods

convert

  • convert(data: any, options?: IBuildOptions): any

Private convertDate

  • convertDate(data: any, options?: IBuildOptions): Date

Private convertRegular

  • convertRegular(data: any, options?: IBuildOptions): any

get

  • get(instance: any): any

getClass

  • getClass(create?: boolean): Function
  • Parameters

    • Optional create: boolean

    Returns Function

getClassRef

  • getClassRef(): IClassRef
  • Returns IClassRef

getClassRefFor

  • getClassRefFor(object: string | Function | IClassRef, type: METADATA_TYPE): IClassRef
  • Parameters

    • object: string | Function | IClassRef
    • type: METADATA_TYPE

    Returns IClassRef

getEntityRef

getNamespace

  • getNamespace(): string
  • Returns string

getOptions

  • getOptions(key?: string, defaultValue?: any): any
  • Parameters

    • Optional key: string
    • Optional defaultValue: any

    Returns any

Protected getOptionsEntry

  • getOptionsEntry(): any
  • Returns any

getRegistry

  • getRegistry(): ILookupRegistry
  • Returns ILookupRegistry

getSourceRef

  • getSourceRef(): IClassRef
  • Returns IClassRef

getTargetRef

  • getTargetRef(): IClassRef

getType

  • getType(): any

hasOption

  • hasOption(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

id

  • id(): string

isAppended

  • isAppended(): boolean
  • Returns boolean

isCollection

  • isCollection(): boolean

isEntityReference

  • isEntityReference(): boolean

isIdentifier

  • isIdentifier(): boolean

isReference

  • isReference(): boolean

isStructuredType

  • isStructuredType(): boolean

label

  • label(): string

setOption

  • setOption(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

setOptions

  • setOptions(options: any): void
  • Parameters

    • options: any

    Returns void

Generated using TypeDoc