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