pub struct SelectStmt<'a> { /* private fields */ }Implementations§
Source§impl<'a> SelectStmt<'a>
impl<'a> SelectStmt<'a>
Sourcepub fn node_id(&self) -> SelectStmtId
pub fn node_id(&self) -> SelectStmtId
The typed node ID of this node.
pub fn flags(&self) -> SelectStmtFlags
pub fn columns(&self) -> Option<ResultColumnList<'a>>
pub fn from_clause(&self) -> Option<TableSource<'a>>
pub fn where_clause(&self) -> Option<Expr<'a>>
pub fn groupby(&self) -> Option<ExprList<'a>>
pub fn having(&self) -> Option<Expr<'a>>
pub fn orderby(&self) -> Option<OrderByList<'a>>
pub fn limit_clause(&self) -> Option<LimitClause<'a>>
pub fn window_clause(&self) -> Option<NamedWindowDefList<'a>>
Trait Implementations§
Source§impl<'a> Clone for SelectStmt<'a>
impl<'a> Clone for SelectStmt<'a>
Source§fn clone(&self) -> SelectStmt<'a>
fn clone(&self) -> SelectStmt<'a>
Returns a duplicate 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 SelectStmt<'_>
impl Debug for SelectStmt<'_>
Source§impl Display for SelectStmt<'_>
impl Display for SelectStmt<'_>
Source§impl<'a> From<SelectStmt<'a>> for SelectStmtId
impl<'a> From<SelectStmt<'a>> for SelectStmtId
Source§fn from(n: SelectStmt<'a>) -> Self
fn from(n: SelectStmt<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> GrammarNodeType<'a> for SelectStmt<'a>
impl<'a> GrammarNodeType<'a> for SelectStmt<'a>
Source§fn from_result(
stmt_result: &'a AnyParsedStatement<'a>,
id: AnyNodeId,
) -> Option<Self>
fn from_result( stmt_result: &'a AnyParsedStatement<'a>, id: AnyNodeId, ) -> Option<Self>
Resolve
id to Self, or None if null, invalid, or tag mismatch.impl<'a> Copy for SelectStmt<'a>
Auto Trait Implementations§
impl<'a> Freeze for SelectStmt<'a>
impl<'a> !RefUnwindSafe for SelectStmt<'a>
impl<'a> !Send for SelectStmt<'a>
impl<'a> !Sync for SelectStmt<'a>
impl<'a> Unpin for SelectStmt<'a>
impl<'a> UnsafeUnpin for SelectStmt<'a>
impl<'a> !UnwindSafe for SelectStmt<'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