MatheusFarias03 commented on issue #379: URL: https://github.com/apache/age/issues/379#issuecomment-1342831947
Hello @RC-002 ! From reading the CREATE section on the Apache AGE Documentation: https://age.apache.org/age-manual/master/clauses/create.html You can return a newly created node by doing the following command: ``` SELECT * FROM cypher('graph_name', $$ CREATE (a {name: 'Andres') RETURN a $$) as (a agtype); ``` so then it will return: ``` a ----- {id: 0; label: ‘’; properties: {name: ‘Andres’}}::vertex ----- (1 row) ``` -- 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]
