Skip to main content
Version: Next

MetadataStorage

Index

Constructors

constructor

Properties

staticreadonlyPATH_SYMBOL

PATH_SYMBOL: typeof PATH_SYMBOL = ...

Methods

[iterator]

decorate

find

get

  • Type parameters

    • T = any

    Parameters

    • entityName: EntityName<T>
    • 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

staticinit

staticisKnownEntity

  • isKnownEntity(name: string): boolean
  • Parameters

    • name: string

    Returns boolean