Zahid07 opened a new pull request, #786:
URL: https://github.com/apache/age/pull/786
age_global_graph.c. This function returns the children of a node in the
graph. This function is used in the function is_an_edge_match in the file
age_vle.c. Which chekcs if the edge is a match or not.
Example:
We have a graph named `test`
We have an edge Named PARENT and CHILD inherits the parent.
```
SELECT * FROM cypher('test', $$
CREATE (:Person {name: 'Bobby'})-[:CHILD]->(:Person {name:
'Hank'})-[:CHILD]->(:Person {name: 'Mike'})
$$) AS (a agtype);
```
Query A :
```
SELECT * FROM cypher('test', $$
MATCH (a)-[:PARENT]->(b)
RETURN a.name, b.name
$$) AS (a_name agtype, b_name agtype);
```
Query B :
```
SELECT * FROM cypher('test', $$
MATCH (a)-[:PARENT*1]->(b)
RETURN a.name, b.name
$$) AS (a_name agtype, b_name agtype);
```
Query A and Query B should have the same results, which is now possible.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]