Struct gluesql_core::ast_builder::SelectNode  
source · pub struct SelectNode { /* private fields */ }Implementations
sourceimpl SelectNode
 
impl SelectNode
pub fn new(table_name: String, table_alias: Option<String>) -> Self
pub fn filter<T: Into<ExprNode>>(self, expr: T) -> FilterNode
pub fn group_by<T: Into<ExprList>>(self, expr_list: T) -> GroupByNode
pub fn offset<T: Into<ExprNode>>(self, expr: T) -> OffsetNode
pub fn limit<T: Into<ExprNode>>(self, expr: T) -> LimitNode
pub fn project<T: Into<SelectItemList>>(self, select_items: T) -> ProjectNode
pub fn order_by<T: Into<OrderByExprList>>(self, order_by_exprs: T) -> OrderByNode
pub fn join(self, table_name: &str) -> JoinNode
pub fn join_as(self, table_name: &str, alias: &str) -> JoinNode
pub fn left_join(self, table_name: &str) -> JoinNode
pub fn left_join_as(self, table_name: &str, alias: &str) -> JoinNode
Trait Implementations
sourceimpl Clone for SelectNode
 
impl Clone for SelectNode
sourcefn clone(&self) -> SelectNode
 
fn clone(&self) -> SelectNode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresourceimpl From<SelectNode> for QueryNode
 
impl From<SelectNode> for QueryNode
sourcefn from(node: SelectNode) -> Self
 
fn from(node: SelectNode) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for SelectNode
impl Send for SelectNode
impl Sync for SelectNode
impl Unpin for SelectNode
impl UnwindSafe for SelectNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more