pub struct CorrelatedSubqueryCondition {
pub related: CorrelatedSubquery,
pub op: ExistsOp,
pub flip: Option<bool>,
pub scalar: Option<bool>,
pub plan_id: Option<u32>,
}Expand description
A (NOT) EXISTS condition (CorrelatedSubqueryCondition, ast.ts:324-331).
Fields§
The subquery + how it correlates to the parent.
op: ExistsOpEXISTS | NOT EXISTS.
flip: Option<bool>Flipped-join routing flag (read by the builder / planner). Deferred path.
scalar: Option<bool>Scalar-subquery flag. Deferred path.
plan_id: Option<u32>Build-time planner annotation — not wire data (#[serde(skip)]), set by
the planner (deferred), and always None today. Once the planner sets it, it
must be excluded from PartialEq/canonical ordering (spec 02 §4.4); it is
None-only now, so the derived PartialEq is correct in the interim.
Trait Implementations§
Source§fn clone(&self) -> CorrelatedSubqueryCondition
fn clone(&self) -> CorrelatedSubqueryCondition
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§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
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