pub struct GroupingFunc {
pub args: Vec<Expr>,
pub refs: Vec<usize>,
pub levels_up: usize,
}Expand description
A call of GROUPING, as GroupingFunc. The result has a bit for each argument, with the bit of the last argument as the lowest bit. A bit is 1 when the grouping set of the group does not have the argument.
Fields§
§args: Vec<Expr>The arguments, which are items of GROUP BY.
refs: Vec<usize>refs: the target of the item of GROUP BY of each argument. parseCheckAggregates sets them.
levels_up: usizeagglevelsup: 0 for a call of the query that has the call, 1 for a call of the query outside it, and so on.
Trait Implementations§
Source§impl Clone for GroupingFunc
impl Clone for GroupingFunc
Source§impl Debug for GroupingFunc
impl Debug for GroupingFunc
Source§impl PartialEq for GroupingFunc
impl PartialEq for GroupingFunc
impl StructuralPartialEq for GroupingFunc
Auto Trait Implementations§
impl Freeze for GroupingFunc
impl RefUnwindSafe for GroupingFunc
impl Send for GroupingFunc
impl Sync for GroupingFunc
impl Unpin for GroupingFunc
impl UnsafeUnpin for GroupingFunc
impl UnwindSafe for GroupingFunc
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