safi50 commented on issue #856:
URL: https://github.com/apache/age/issues/856#issuecomment-1522841653
From your above code, adding edge doesn't return anything because there is
no return statement in the cypher query.
Modify your cypher to include a return statement and you'll find the desired
values.
```
query ="""
SELECT * from cypher(
'test_Graph',
$$
MATCH (a), (b)
WHERE id(a) = 844424930131969 AND id(b) = 844424930131970
CREATE (a)-[r:ProjectLeader {firstMeet : 'Jan-21-2019'}]->(b)
RETURN r
$$) as (v agtype);
"""
```
--
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]