module Clear::SQL::Query::GroupBy

Direct including types

Defined in:

clear/sql/query/group_by.cr

Instance Method Summary

Instance Method Detail

def clear_group_bys #

Clear the group by clause


[View source]
def group_by(*column_list) #

Build a GROUP BY clause

query.select("department", "position").from(:users).group_by("department", "position")
# SELECT * FROM "users" GROUP BY department, position

[View source]
def group_bys : Array(Symbolic) #

[View source]