Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RelationIdMetadata

Contains all information about entity's relation count.

Hierarchy

  • RelationIdMetadata

Index

Constructors

constructor

Properties

Optional alias

alias: string

Alias of the joined (destination) table.

entityMetadata

entityMetadata: EntityMetadata

Entity metadata where this column metadata is.

propertyName

propertyName: string

Target's property name to which this metadata is applied.

Optional queryBuilderFactory

queryBuilderFactory: function

Extra condition applied to "ON" section of join.

Type declaration

relation

Relation from which ids will be extracted.

relationNameOrFactory

relationNameOrFactory: string | function

Relation name which need to count.

target

target: Function | string

Target class to which metadata is applied.

Methods

build

  • build(): void
  • Builds some depend relation id properties. This builder method should be used only after entity metadata, its properties map and all relations are build.

    Returns void

setValue

Generated using TypeDoc