pub enum AggArg {
Star,
Var(String),
Prop {
var: String,
field: String,
},
}Expand description
Argument to an aggregate function.
Variants§
Star
COUNT(*) — every matched row counts regardless of binding.
Var(String)
COUNT(var) — counts rows where var is bound (non-null).
Prop
SUM(var.field), AVG(var.field), etc.
Trait Implementations§
impl StructuralPartialEq for AggArg
Auto Trait Implementations§
impl Freeze for AggArg
impl RefUnwindSafe for AggArg
impl Send for AggArg
impl Sync for AggArg
impl Unpin for AggArg
impl UnsafeUnpin for AggArg
impl UnwindSafe for AggArg
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