MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / test_with

Function test_with

tests/unit/test_execution_plan_clone.c:258–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258void 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
271void test_union() {
272 const char **queries = array_new(const char *, 1);

Callers

nothing calls this directly

Calls 2

array_freeFunction · 0.85

Tested by

no test coverage detected