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

Function _AST_MapSetClauseReferences

src/ast/ast_build_reference_map.c:234–241  ·  view source on GitHub ↗

Maps entities in SET clause.

Source from the content-addressed store, hash-verified

232
233// Maps entities in SET clause.
234static void _AST_MapSetClauseReferences(AST *ast, const cypher_astnode_t *set_clause) {
235 uint nitems = cypher_ast_set_nitems(set_clause);
236 for(uint i = 0; i < nitems; i++) {
237 // Get the SET directive at this index.
238 const cypher_astnode_t *set_item = cypher_ast_set_get_item(set_clause, i);
239 _AST_MapSetItemReferences(ast, set_item);
240 }
241}
242
243static void _AST_MapRemovePropertyReferences
244(

Callers 1

Calls 1

Tested by

no test coverage detected