| 256 | } |
| 257 | |
| 258 | void test_with() { |
| 259 | const char **queries = array_new(const char *, 6); |
| 260 | array_append(queries, "MATCH (n) WITH n RETURN n"); |
| 261 | array_append(queries, "MATCH (n) WITH n AS m RETURN m"); |
| 262 | array_append(queries, "MATCH (n) WITH n AS m SKIP 5 RETURN m"); |
| 263 | array_append(queries, "MATCH (n) WITH n AS m LIMIT 5 RETURN m"); |
| 264 | array_append(queries, "MATCH (n) WITH n AS m ORDER BY n.val RETURN m"); |
| 265 | array_append(queries, "MATCH (n) WITH n AS m WHERE n.val < 5 RETURN m"); |
| 266 | |
| 267 | validate_query_plans_clone(queries); |
| 268 | array_free(queries); |
| 269 | } |
| 270 | |
| 271 | void test_union() { |
| 272 | const char **queries = array_new(const char *, 1); |
nothing calls this directly
no test coverage detected