module Focus::Dsl::Aggregation

Defined in:

focus/dsl/aggregation.cr

Instance Method Summary

Instance Method Detail

def avg(column : ColumnDeclaring(Comparable)) : AggregateExpression(Float32) #

[View source]
def avg_distinct(column : ColumnDeclaring(Comparable)) : AggregateExpression(Float32) #

[View source]
def count(column : ColumnDeclaring(Comparable) | Nil = nil) : AggregateExpression(Int32) #

[View source]
def count_distinct(column : ColumnDeclaring(Comparable)) : AggregateExpression(Int32) #

[View source]
def max(column : ColumnDeclaring(Comparable)) : AggregateExpression(Comparable) #

[View source]
def max_distinct(column : ColumnDeclaring(Comparable)) : AggregateExpression(Comparable) #

[View source]
def min(column : ColumnDeclaring(Comparable)) : AggregateExpression(Comparable) #

[View source]
def min_distinct(column : ColumnDeclaring(Comparable)) : AggregateExpression(Comparable) #

[View source]
def sum(column : ColumnDeclaring(Comparable)) : AggregateExpression(Comparable) #

[View source]
def sum_distinct(column : ColumnDeclaring(Comparable)) : AggregateExpression(Comparable) #

[View source]