pub struct SelectStmt {
pub projections: Vec<Projection>,
pub from: Vec<TableRef>,
pub joins: Vec<JoinClause>,
pub where_clause: Option<Expr>,
pub cte_names: Vec<String>,
}Fields§
§projections: Vec<Projection>§from: Vec<TableRef>§joins: Vec<JoinClause>§where_clause: Option<Expr>§cte_names: Vec<String>CTE table names declared in a leading WITH x AS (...) [, y AS (...)]
clause. Populated by the parser backend so the resolver can bind
them as scope tables – otherwise referencing the CTE in the outer
SELECT looks like an unresolved table to completion + diagnostics.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SelectStmt
impl Freeze for SelectStmt
impl Move for SelectStmt
impl RefUnwindSafe for SelectStmt
impl Send for SelectStmt
impl Sync for SelectStmt
impl Unpin for SelectStmt
impl UnsafeUnpin for SelectStmt
impl UnwindSafe for SelectStmt
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more