| 140 | /// Query with WITH clauses: MATCH ... WITH ... MATCH ... RETURN ... |
| 141 | #[derive(Debug, Clone, Serialize, Deserialize)] |
| 142 | pub struct WithQuery { |
| 143 | pub segments: Vec<QuerySegment>, |
| 144 | pub final_return: ReturnClause, |
| 145 | pub group_clause: Option<GroupClause>, |
| 146 | pub having_clause: Option<HavingClause>, |
| 147 | pub order_clause: Option<OrderClause>, |
| 148 | pub limit_clause: Option<LimitClause>, |
| 149 | pub location: Location, |
| 150 | } |
| 151 | |
| 152 | /// Query with mutation pipeline: MATCH ... WITH ... [UNWIND ...] REMOVE/SET/DELETE ... |
| 153 | #[derive(Debug, Clone, Serialize, Deserialize)] |