Table of Contents

Constructor Average

Namespace
YndigoBlue.Velocity.Functions
Assembly
YndigoBlue.Velocity.dll

Average(Column)

Initializes a new instance of AVG for a specific column.

public Average(Column column)

Parameters

column Column

The numeric column to average.

Average(IElement)

Initializes a new instance of AVG for a single element.

public Average(IElement element)

Parameters

element IElement

The numeric element to average.

Average(IEnumerable<IElement>)

Initializes a new instance of AVG for a composed expression (e.g. AVG(quantity * unit_price)).

public Average(IEnumerable<IElement> elements)

Parameters

elements IEnumerable<IElement>

The elements that make up the expression to evaluate.