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

Function _AST_MapUnwindClauseReferences

src/ast/ast_build_reference_map.c:315–325  ·  view source on GitHub ↗

maps entities in UNWIND clause

Source from the content-addressed store, hash-verified

313
314// maps entities in UNWIND clause
315static void _AST_MapUnwindClauseReferences
316(
317 AST *ast,
318 const cypher_astnode_t *unwind_clause
319) {
320 ASSERT(ast != NULL);
321 ASSERT(unwind_clause != NULL);
322
323 const cypher_astnode_t * expr = cypher_ast_unwind_get_expression(unwind_clause);
324 _AST_MapExpression(ast, expr);
325}
326
327// maps entities in a FOREACH clause
328// MATCH (n) FOREACH(v in [1,2,3,4] | CREATE (:L{x:v})-[:R]->(n))

Callers 1

Calls 1

_AST_MapExpressionFunction · 0.85

Tested by

no test coverage detected