pub struct Query {
pub matches: Vec<Pattern>,
pub optional_clauses: Vec<OptionalClause>,
pub where_expr: Option<Expr>,
pub unwinds: Vec<UnwindClause>,
pub post_unwind_where: Option<Expr>,
pub stages: Vec<WithStage>,
pub returns: Vec<RetItem>,
pub distinct: bool,
pub order_by: Vec<OrderItem>,
pub skip: Option<LimitSkip>,
pub limit: Option<LimitSkip>,
}Fields§
§matches: Vec<Pattern>§optional_clauses: Vec<OptionalClause>OPTIONAL MATCH clauses that follow the required matches.
where_expr: Option<Expr>Top-level WHERE filter, evaluated before UNWIND expansion.
unwinds: Vec<UnwindClause>Top-level UNWIND clauses (after WHERE, before post_unwind_where/WITH/RETURN).
post_unwind_where: Option<Expr>Optional WHERE evaluated after UNWIND expansion (references UNWIND aliases).
stages: Vec<WithStage>WITH pipeline stages. Each stage carries a WITH clause and optional MATCH / UNWIND / WHERE that follow it.
returns: Vec<RetItem>§distinct: boolRETURN DISTINCT … — executor hashes projected rows after Project.
order_by: Vec<OrderItem>§skip: Option<LimitSkip>§limit: Option<LimitSkip>Trait Implementations§
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Query
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