Class Min
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Represents the MIN aggregate function that returns the minimum value in a set.
public class Min : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
- Inheritance
-
Min
- Implements
Remarks
The MIN function finds the smallest value in a column, working with numeric, string, and date types. For strings, it returns the first value in alphabetical order. For dates, it returns the earliest date. Null values are ignored. Commonly used with GROUP BY to find the minimum value per group.
Constructors
- Min(Column)
Initializes a new instance of MIN for a specific column.