Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RelationCountAttribute

Hierarchy

  • RelationCountAttribute

Index

Constructors

constructor

Properties

Optional alias

alias: string

Alias of the joined (destination) table.

Private expressionMap

expressionMap: QueryExpressionMap

mapToProperty

mapToProperty: string

Property + alias of the object where to joined data should be mapped.

Optional queryBuilderFactory

queryBuilderFactory: function

Extra condition applied to "ON" section of join.

Type declaration

relationName

relationName: string

Name of relation.

Accessors

joinInverseSideMetadata

junctionAlias

  • get junctionAlias(): string

mapToPropertyPropertyName

  • get mapToPropertyPropertyName(): string

metadata

parentAlias

  • get parentAlias(): string
  • Alias of the parent of this join. For example, if we join ("post.category", "categoryAlias") then "post" is a parent alias. This value is extracted from entityOrProperty value. This is available when join was made using "post.category" syntax.

    Returns string

relation

relationProperty

  • get relationProperty(): string | undefined
  • Relation property name of the parent. This is used to understand what is joined. For example, if we join ("post.category", "categoryAlias") then "category" is a relation property. This value is extracted from entityOrProperty value. This is available when join was made using "post.category" syntax.

    Returns string | undefined

Generated using TypeDoc