pub struct Foreach {
pub input: PlanNodeId,
pub variable: VarId,
pub list: ResolvedExpr,
pub body: Vec<ResolvedClause>,
}Expand description
FOREACH (var IN list | body...) — for each input row, evaluate
the list, then run each body clause once per element with var
bound to the element. The body is a flat list of resolved updating
clauses applied for side effects only; the outer row is emitted
unchanged after the loop.
Fields§
§input: PlanNodeId§variable: VarId§list: ResolvedExpr§body: Vec<ResolvedClause>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Foreach
impl RefUnwindSafe for Foreach
impl Send for Foreach
impl Sync for Foreach
impl Unpin for Foreach
impl UnsafeUnpin for Foreach
impl UnwindSafe for Foreach
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