Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MetadataArgsStorage

Storage all metadatas args of all available types: tables, columns, subscribers, relations, etc. Each metadata args represents some specifications of what it represents. MetadataArgs used to create a real Metadata objects.

Hierarchy

  • MetadataArgsStorage

Index

Properties

checks

checks: CheckMetadataArgs[] = []

columns

columns: ColumnMetadataArgs[] = []

discriminatorValues

discriminatorValues: DiscriminatorValueMetadataArgs[] = []

embeddeds

embeddeds: EmbeddedMetadataArgs[] = []

entityListeners

entityListeners: EntityListenerMetadataArgs[] = []

entityRepositories

entityRepositories: EntityRepositoryMetadataArgs[] = []

entitySubscribers

entitySubscribers: EntitySubscriberMetadataArgs[] = []

exclusions

exclusions: ExclusionMetadataArgs[] = []

generations

generations: GeneratedMetadataArgs[] = []

indices

indices: IndexMetadataArgs[] = []

inheritances

inheritances: InheritanceMetadataArgs[] = []

joinColumns

joinColumns: JoinColumnMetadataArgs[] = []

joinTables

joinTables: JoinTableMetadataArgs[] = []

namingStrategies

namingStrategies: NamingStrategyMetadataArgs[] = []

relationCounts

relationCounts: RelationCountMetadataArgs[] = []

relationIds

relationIds: RelationIdMetadataArgs[] = []

relations

relations: RelationMetadataArgs[] = []

tables

tables: TableMetadataArgs[] = []

transactionEntityManagers

transactionEntityManagers: TransactionEntityMetadataArgs[] = []

transactionRepositories

transactionRepositories: TransactionRepositoryMetadataArgs[] = []

trees

trees: TreeMetadataArgs[] = []

uniques

uniques: UniqueMetadataArgs[] = []

Methods

Protected filterByTarget

  • filterByTarget<T>(array: T[], target: string | Function | (string | Function)[]): T[]
  • Filters given array by a given target or targets.

    Type parameters

    • T: object

    Parameters

    • array: T[]
    • target: string | Function | (string | Function)[]

    Returns T[]

Protected filterByTargetAndWithoutDuplicateEmbeddedProperties

  • filterByTargetAndWithoutDuplicateEmbeddedProperties<T>(array: T[], target: string | Function | (string | Function)[]): T[]

Protected filterByTargetAndWithoutDuplicateProperties

  • filterByTargetAndWithoutDuplicateProperties<T>(array: T[], target: string | Function | (string | Function)[]): T[]
  • Filters given array by a given target or targets and prevents duplicate property names.

    Type parameters

    • T: object

    Parameters

    • array: T[]
    • target: string | Function | (string | Function)[]

    Returns T[]

filterChecks

filterColumns

filterEmbeddeds

filterExclusions

filterIndices

filterJoinColumns

filterListeners

filterNamingStrategies

filterRelationCounts

filterRelationIds

filterRelations

filterSingleTableChildren

filterSubscribers

filterTables

filterTransactionEntityManagers

filterTransactionRepository

filterUniques

findDiscriminatorValue

findGenerated

findInheritanceType

findJoinTable

findTree

  • findTree(target: string | Function | (string | Function)[]): TreeMetadataArgs | undefined

Generated using TypeDoc