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

Function _AST_MapDeleteClauseReferences

src/ast/ast_build_reference_map.c:367–381  ·  view source on GitHub ↗

maps entities in DELETE clause

Source from the content-addressed store, hash-verified

365
366// maps entities in DELETE clause
367static void _AST_MapDeleteClauseReferences
368(
369 AST *ast,
370 const cypher_astnode_t *delete_clause
371) {
372 ASSERT(ast != NULL);
373 ASSERT(delete_clause != NULL);
374
375 uint nitems = cypher_ast_delete_nexpressions(delete_clause);
376 for(uint i = 0; i < nitems; i++) {
377 const cypher_astnode_t *delete_exp =
378 cypher_ast_delete_get_expression(delete_clause, i);
379 _AST_MapExpression(ast, delete_exp);
380 }
381}
382
383// Maps entities in MERGE clause. Either by implicit filters, or modified entities by SET clause.
384static void _AST_MapMergeClauseReference(AST *ast, const cypher_astnode_t *merge_clause) {

Callers 1

Calls 1

_AST_MapExpressionFunction · 0.85

Tested by

no test coverage detected