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

Function _AST_MapRemoveItemReferences

src/ast/ast_build_reference_map.c:278–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278static void _AST_MapRemoveItemReferences
279(
280 AST *ast,
281 const cypher_astnode_t *remove_item
282) {
283 ASSERT(ast != NULL);
284 ASSERT(remove_item != NULL);
285
286 const cypher_astnode_type_t type = cypher_astnode_type(remove_item);
287 if(type == CYPHER_AST_REMOVE_LABELS) {
288 _AST_MapRemoveLabelsReferences(ast, remove_item);
289 } else if(type == CYPHER_AST_REMOVE_PROPERTY) {
290 _AST_MapRemovePropertyReferences(ast, remove_item);
291 } else {
292 ASSERT(false);
293 }
294}
295
296// maps entities in REMOVE clause
297static void _AST_MapRemoveClauseReferences

Callers 1

Tested by

no test coverage detected