| 31 | } |
| 32 | |
| 33 | static inline NodeCreateCtx _NewNodeCreateCtx |
| 34 | ( |
| 35 | GraphContext *gc, |
| 36 | const QGNode *n, |
| 37 | const cypher_astnode_t *ast_node |
| 38 | ) { |
| 39 | const cypher_astnode_t *ast_props = cypher_ast_node_pattern_get_properties(ast_node); |
| 40 | |
| 41 | NodeCreateCtx new_node; |
| 42 | new_node.alias = n->alias; |
| 43 | new_node.properties = PropertyMap_New(ast_props); |
| 44 | array_clone(new_node.labels, n->labels); |
| 45 | array_clone(new_node.labelsId, n->labelsID); |
| 46 | |
| 47 | return new_node; |
| 48 | } |
| 49 | |
| 50 | // updates a single property or label |
| 51 | static void _ConvertUpdateItem |
no test coverage detected