pub struct GroupBy {
pub expr: ExprRef,
pub predicate: Option<ExprRef>,
}Expand description
GROUP BY clause specification
Defines how query results should be order by.
§Examples
In GROUP BY e.age HAVING age > 123, this would be represented as:
expr: expression fore.agepredicate:age > 123
Fields§
§expr: ExprRefExpression to group by
predicate: Option<ExprRef>Predicate to filter groups after aggregation
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GroupBy
impl RefUnwindSafe for GroupBy
impl Send for GroupBy
impl Sync for GroupBy
impl Unpin for GroupBy
impl UnwindSafe for GroupBy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more