Options
All
  • Public
  • Public/Protected
  • All
Menu

Contains all information about entity's relation count.

Hierarchy

  • RelationCountMetadata

Index

Constructors

constructor

Properties

Optional alias

alias: undefined | 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: undefined | function

Extra condition applied to "ON" section of join.

relation

Relation which needs to be counted.

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 count metadata properties. This builder method should be used only after entity metadata, its properties map and all relations are build.

    Returns void

Generated using TypeDoc