Struct gluesql_core::ast_builder::ProjectNode
source · pub struct ProjectNode<'a> { /* private fields */ }Implementations§
source§impl<'a> ProjectNode<'a>
impl<'a> ProjectNode<'a>
pub fn new<N: Into<PrevNode<'a>>, T: Into<SelectItemList<'a>>>( prev_node: N, select_items: T ) -> Self
pub fn project<T: Into<SelectItemList<'a>>>(self, select_items: T) -> Self
pub fn alias_as(self, table_alias: &'a str) -> TableFactorNode<'_>
pub fn order_by<T: Into<OrderByExprList<'a>>>( self, order_by_exprs: T ) -> OrderByNode<'a>
pub fn offset<T: Into<ExprNode<'a>>>(self, expr: T) -> OffsetNode<'a>
pub fn limit<T: Into<ExprNode<'a>>>(self, expr: T) -> LimitNode<'a>
Trait Implementations§
source§impl<'a> Clone for ProjectNode<'a>
impl<'a> Clone for ProjectNode<'a>
source§fn clone(&self) -> ProjectNode<'a>
fn clone(&self) -> ProjectNode<'a>
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<'a> Debug for ProjectNode<'a>
impl<'a> Debug for ProjectNode<'a>
source§impl<'a> From<ProjectNode<'a>> for QueryNode<'a>
impl<'a> From<ProjectNode<'a>> for QueryNode<'a>
source§fn from(node: ProjectNode<'a>) -> Self
fn from(node: ProjectNode<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ProjectNode<'a>
impl<'a> Send for ProjectNode<'a>
impl<'a> Sync for ProjectNode<'a>
impl<'a> Unpin for ProjectNode<'a>
impl<'a> UnwindSafe for ProjectNode<'a>
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