AggrFunction class

Represents an aggregate function

Index

Constructors

Public Properties

Public Methods

Constructors


constructor

The default constructor. ⊕ new AggrFunction(): AggrFunction


Public Properties


caption

The caption of the aggregate function.

● caption: string


displayFormat

The display format of aggregate function.

● displayFormat: string


id

The function id. (e.g. SUM or COUNT)

● id: string


sqlExpr

The SQL expression

● sqlExpr: string


Public Methods


loadFromData

Loads an aggregate function from its JSON representation object

▸ loadFromData(aggrFunction: AggrFuncData): void

Parameters:

  • aggrFunction: AggrFuncData - The JSON representation object

Returns void