Table of Contents

Enum AggregateFunctions

Namespace
FluentCommand.Query
Assembly
FluentCommand.dll

Specifies the available aggregate functions for use in SQL queries.

public enum AggregateFunctions
Extension Methods

Fields

Average = 0

Calculates the average value of a numeric column. Corresponds to the SQL AVG function.

Count = 1

Counts the number of rows or non-null values in a column. Corresponds to the SQL COUNT function.

Max = 2

Returns the maximum value from a column. Corresponds to the SQL MAX function.

Min = 3

Returns the minimum value from a column. Corresponds to the SQL MIN function.

Sum = 4

Calculates the sum of all values in a numeric column. Corresponds to the SQL SUM function.