You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "Munmud (via GitHub)" <gi...@apache.org> on 2023/04/26 03:07:32 UTC
[GitHub] [age] Munmud opened a new issue, #854: How to Create an edge using Id of Nodes
Munmud opened a new issue, #854:
URL: https://github.com/apache/age/issues/854
I have created two nodes as follow
```sql
SELECT * from cypher(
'test_Graph',
$$
CREATE (v:People {})
RETURN v
$$
) as (v agtype);
```
```sql
SELECT * from cypher(
'test_Graph',
$$
CREATE (v:People {})
RETURN v
$$
) as (v agtype);
```
These query created nodes with id 844424930131969 and 844424930131970.
Now How can I create an edge between these two ?
--
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: dev-unsubscribe@age.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [age] Munmud closed issue #854: How to Create an edge using Id of Nodes
Posted by "Munmud (via GitHub)" <gi...@apache.org>.
Munmud closed issue #854: How to Create an edge using Id of Nodes
URL: https://github.com/apache/age/issues/854
--
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: dev-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [age] Munmud commented on issue #854: How to Create an edge using Id of Nodes
Posted by "Munmud (via GitHub)" <gi...@apache.org>.
Munmud commented on issue #854:
URL: https://github.com/apache/age/issues/854#issuecomment-1522733440
```sql
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)
$$) 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: dev-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org