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 PartialEq for SetExpression
 
impl PartialEq for SetExpression
source§fn eq(&self, other: &SetExpression) -> bool
 
fn eq(&self, other: &SetExpression) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.