Skip to main content
Version: 5.2

MetadataStorage

Index

Constructors

constructor

Methods

decorate

find

get

  • get<T>(entity: string, init?: boolean, validate?: boolean): EntityMetadata<T>
  • Type parameters

    Parameters

    • entity: string
    • init: boolean = false
    • validate: boolean = true

    Returns EntityMetadata<T>

getAll

getByDiscriminatorColumn

has

  • has(entity: string): boolean
  • Parameters

    • entity: string

    Returns boolean

reset

  • reset(entity: string): void
  • Parameters

    • entity: string

    Returns void

set

staticclear

  • clear(): void
  • Returns void

staticgetMetadata

staticgetMetadataFromDecorator

staticgetSubscriberMetadata

staticinit

staticisKnownEntity

  • isKnownEntity(name: string): boolean
  • Parameters

    • name: string

    Returns boolean