Add referenced aliases from CREATE clause.
| 142 | |
| 143 | // Add referenced aliases from CREATE clause. |
| 144 | static void _AST_MapCreateClauseReferences(AST *ast, const cypher_astnode_t *create_clause) { |
| 145 | const cypher_astnode_t *pattern = cypher_ast_create_get_pattern(create_clause); |
| 146 | uint path_count = cypher_ast_pattern_npaths(pattern); |
| 147 | for(uint i = 0; i < path_count; i++) { |
| 148 | const cypher_astnode_t *path = cypher_ast_pattern_get_path(pattern, i); |
| 149 | bool force_mapping = _shouldForceMapping(path); |
| 150 | _AST_MapReferencedEntitiesInPath(ast, path, force_mapping); |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | // Maps entities in SET clauses that update an individual property. |
| 155 | static void _AST_MapSetPropertyReferences(AST *ast, const cypher_astnode_t *set_item) { |
no test coverage detected