pub enum SetExpression {
    Query {
        result_exprs: Vec<SelectResultExpr>,
        from: Vec<Box<TableExpression>>,
        where_expr: Option<Box<Expression>>,
        group_by: Vec<Identifier>,
    },
}Expand description
Representation of a SetExpression, a collection of rows, each having one or more columns.
Variants§
Query
Query result as SetExpression
Fields
§
result_exprs: Vec<SelectResultExpr>Result expressions e.g. a and b in SELECT a, b FROM table
§
from: Vec<Box<TableExpression>>Table expression e.g. table in SELECT a, b FROM table
§
where_expr: Option<Box<Expression>>Filter expression e.g. a > 5 in SELECT a, b FROM table WHERE a > 5
If None, no filter is applied
§
group_by: Vec<Identifier>Group by expressions e.g. a in SELECT a, COUNT(*) FROM table GROUP BY a
Trait Implementations§
Source§impl Clone for SetExpression
 
impl Clone for SetExpression
Source§fn clone(&self) -> SetExpression
 
fn clone(&self) -> SetExpression
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for SetExpression
 
impl Debug for SetExpression
Source§impl<'de> Deserialize<'de> for SetExpression
 
impl<'de> Deserialize<'de> for SetExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SetExpression> for Select
 
impl From<SetExpression> for Select
Source§fn from(select: SetExpression) -> Self
 
fn from(select: SetExpression) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetExpression
 
impl PartialEq for SetExpression
Source§impl Serialize for SetExpression
 
impl Serialize for SetExpression
impl Eq for SetExpression
impl StructuralPartialEq for SetExpression
Auto Trait Implementations§
impl Freeze for SetExpression
impl RefUnwindSafe for SetExpression
impl Send for SetExpression
impl Sync for SetExpression
impl Unpin for SetExpression
impl UnwindSafe for SetExpression
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