pub struct UpdateFromSources {
pub from: FromClause,
pub sub_where: Option<Expr>,
}Expand description
v7.39 (round 533) — what UPDATE … FROM src WHERE cond was lowered
FROM, kept so the engine can finish the job.
The parser rewrites the statement onto correlated subqueries, and it can only classify a QUALIFIED leaf: deciding whether an unqualified name belongs to the target or to a source needs their column lists, which parse time does not have. Carrying the clause lets the engine — which has the catalog — resolve the rest.
Fields§
§from: FromClause§sub_where: Option<Expr>Trait Implementations§
Source§impl Clone for UpdateFromSources
impl Clone for UpdateFromSources
Source§fn clone(&self) -> UpdateFromSources
fn clone(&self) -> UpdateFromSources
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateFromSources
impl Debug for UpdateFromSources
Source§impl PartialEq for UpdateFromSources
impl PartialEq for UpdateFromSources
impl StructuralPartialEq for UpdateFromSources
Auto Trait Implementations§
impl Freeze for UpdateFromSources
impl RefUnwindSafe for UpdateFromSources
impl Send for UpdateFromSources
impl Sync for UpdateFromSources
impl Unpin for UpdateFromSources
impl UnsafeUnpin for UpdateFromSources
impl UnwindSafe for UpdateFromSources
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