pub enum Statement {
Create(Vec<Pattern>),
Match {
parts: Vec<QueryPart>,
tail: Tail,
order_by: Option<Vec<(ReturnExpr, SortDir)>>,
limit: Option<i64>,
},
}Variants§
Create(Vec<Pattern>)
Match
Fields
§
parts: Vec<QueryPart>One or more MATCH ... [WITH ...] segments. The parser enforces
every part except the last has a with (matching real Cypher’s
rule that multiple reading clauses must be separated by WITH)
and that at most one part has a with at all (v1 doesn’t
support chaining past one WITH boundary — nothing in the target
query set needs it, and it keeps a hand-rolled parser’s
untested-path surface smaller).
§
tail: TailTrait Implementations§
Auto Trait Implementations§
impl Freeze for Statement
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnsafeUnpin for Statement
impl UnwindSafe for Statement
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