Table of Contents

Class Max

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

Represents the MAX aggregate function that returns the maximum value in a set.

public class Max : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
Inheritance
Max
Implements

Remarks

The MAX function finds the largest value in a column, working with numeric, string, and date types. For strings, it returns the last value in alphabetical order. For dates, it returns the latest date. Null values are ignored. Commonly used with GROUP BY to find the maximum value per group.

Constructors

Max(Column)

Initializes a new instance of MAX for a specific column.