diesel/query_builder/
group_by_clause.rs
1simple_clause!(NoGroupByClause, GroupByClause, " GROUP BY ");
2
3pub trait ValidGroupByClause {
4 type Expressions;
5}
6
7impl ValidGroupByClause for NoGroupByClause {
8 type Expressions = ();
9}
10
11impl<GB> ValidGroupByClause for GroupByClause<GB> {
12 type Expressions = GB;
13}