pub enum TableExpr {
Table {
name: String,
alias: Option<String>,
},
Derived {
subquery: QueryExpr,
alias: String,
columns: Option<Vec<String>>,
},
Join {
left: Box<TableExpr>,
right: Box<TableExpr>,
kind: JoinKind,
constraint: JoinConstraint,
},
}Expand description
SP33: one entry in the FROM clause — a base table, a derived table
(subquery), or a join of two table-exprs. The comma form (FROM a, b) is a
Vec<TableExpr> with len > 1 (implicit cross join).
Variants§
Trait Implementations§
impl StructuralPartialEq for TableExpr
Auto Trait Implementations§
impl Freeze for TableExpr
impl RefUnwindSafe for TableExpr
impl Send for TableExpr
impl Sync for TableExpr
impl Unpin for TableExpr
impl UnsafeUnpin for TableExpr
impl UnwindSafe for TableExpr
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