pub struct ArrayAgg {
pub distinct: bool,
pub expr: Box<Expr>,
pub order_by: Option<Box<OrderByExpr>>,
pub limit: Option<Box<Expr>>,
pub within_group: bool,
}
Expand description
An ARRAY_AGG
invocation ARRAY_AGG( [ DISTINCT ] <expr> [ORDER BY <expr>] [LIMIT <n>] )
Or ARRAY_AGG( [ DISTINCT ] <expr> ) [ WITHIN GROUP ( ORDER BY <expr> ) ]
ORDER BY position is defined differently for BigQuery, Postgres and Snowflake.
Fields§
§distinct: bool
§expr: Box<Expr>
§order_by: Option<Box<OrderByExpr>>
§limit: Option<Box<Expr>>
§within_group: bool
Trait Implementations§
source§impl Ord for ArrayAgg
impl Ord for ArrayAgg
source§impl PartialEq for ArrayAgg
impl PartialEq for ArrayAgg
source§impl PartialOrd for ArrayAgg
impl PartialOrd for ArrayAgg
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ArrayAgg
impl StructuralEq for ArrayAgg
impl StructuralPartialEq for ArrayAgg
Auto Trait Implementations§
impl RefUnwindSafe for ArrayAgg
impl Send for ArrayAgg
impl Sync for ArrayAgg
impl Unpin for ArrayAgg
impl UnwindSafe for ArrayAgg
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