| 113 | /// Query can be either a basic query or a set operation |
| 114 | #[derive(Debug, Clone, Serialize, Deserialize)] |
| 115 | pub enum Query { |
| 116 | Basic(BasicQuery), |
| 117 | SetOperation(SetOperation), |
| 118 | /// Query with top-level ORDER BY and/or LIMIT clauses |
| 119 | Limited { |
| 120 | query: Box<Query>, |
| 121 | order_clause: Option<OrderClause>, |
| 122 | limit_clause: Option<LimitClause>, |
| 123 | }, |
| 124 | /// Query with WITH clauses creating a pipeline of query segments |
| 125 | WithQuery(WithQuery), |
| 126 | /// Query with WITH/UNWIND clauses ending in mutation (REMOVE/SET/DELETE) |
| 127 | MutationPipeline(MutationPipeline), |
| 128 | /// LET statement for variable bindings |
| 129 | Let(LetStatement), |
| 130 | /// FOR statement for iteration |
| 131 | For(ForStatement), |
| 132 | /// FILTER statement for conditional filtering |
| 133 | Filter(FilterStatement), |
| 134 | /// Standalone RETURN query without MATCH |
| 135 | Return(ReturnQuery), |
| 136 | /// UNWIND statement for expanding lists into rows |
| 137 | Unwind(UnwindStatement), |
| 138 | } |
| 139 | |
| 140 | /// Query with WITH clauses: MATCH ... WITH ... MATCH ... RETURN ... |
| 141 | #[derive(Debug, Clone, Serialize, Deserialize)] |
no outgoing calls
no test coverage detected