pub struct AnyGroupedQuery { /* private fields */ }Expand description
A query grouped by columns, waiting for the aggregate that reduces each
group (GroupedQuery).
Implementations§
Source§impl AnyGroupedQuery
impl AnyGroupedQuery
Sourcepub fn sum_json(
self,
column: impl Into<String>,
path: Vec<JsonPathSegment>,
) -> AnyQuery
pub fn sum_json( self, column: impl Into<String>, path: Vec<JsonPathSegment>, ) -> AnyQuery
Each group’s sum of the numbers at path in the JSON column.
Sourcepub fn avg_json(
self,
column: impl Into<String>,
path: Vec<JsonPathSegment>,
) -> AnyQuery
pub fn avg_json( self, column: impl Into<String>, path: Vec<JsonPathSegment>, ) -> AnyQuery
Each group’s average of the numbers at path in the JSON column.
Trait Implementations§
Source§impl Clone for AnyGroupedQuery
impl Clone for AnyGroupedQuery
Auto Trait Implementations§
impl Forget for AnyGroupedQuery
impl Freeze for AnyGroupedQuery
impl Move for AnyGroupedQuery
impl RefUnwindSafe for AnyGroupedQuery
impl Send for AnyGroupedQuery
impl Sync for AnyGroupedQuery
impl Unpin for AnyGroupedQuery
impl UnsafeUnpin for AnyGroupedQuery
impl UnwindSafe for AnyGroupedQuery
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