rafsun42 commented on issue #1517: URL: https://github.com/apache/age/issues/1517#issuecomment-1933202949
@MatheusFarias03 Do you think the following would work? It should not duplicate the vertices. ``` MERGE (n:Person {name:'abc'}) -- creates the start vertex if does not exist MERGE (m:Person {name:'xyz'}) -- creates the end vertex if does not exist MERGE (n)-[:rel]->(m) -- creates the edge if does not exist RETURN n ``` -- 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-unsubscr...@age.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org