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

Function _AST_MapRemoveClauseReferences

src/ast/ast_build_reference_map.c:297–312  ·  view source on GitHub ↗

maps entities in REMOVE clause

Source from the content-addressed store, hash-verified

295
296// maps entities in REMOVE clause
297static void _AST_MapRemoveClauseReferences
298(
299 AST *ast,
300 const cypher_astnode_t *remove_clause
301) {
302 ASSERT(ast != NULL);
303 ASSERT(remove_clause != NULL);
304
305 uint nitems = cypher_ast_remove_nitems(remove_clause);
306 for(uint i = 0; i < nitems; i++) {
307 // get the SET directive at this index
308 const cypher_astnode_t *set_item =
309 cypher_ast_remove_get_item(remove_clause, i);
310 _AST_MapRemoveItemReferences(ast, set_item);
311 }
312}
313
314// maps entities in UNWIND clause
315static void _AST_MapUnwindClauseReferences

Callers 1

Calls 1

Tested by

no test coverage detected