age-website
age-website copied to clipboard
List function
There is an issue in list function (nodes). Bug code is as follows:
SELECT * FROM cypher('graph_name', $$ MATCH p = (a)-[]->(b)-[]->(c) WHERE a.name = 'Alice' AND c.name = 'Eskil' RETURN nodes(a) $$) as (vertices agtype);
Corrected version is as follows:
SELECT * FROM cypher('graph_name', $$ MATCH p = (a)-[]->(b)-[]->(c) WHERE a.name = 'Alice' AND c.name = 'Eskil' RETURN nodes(p) $$) as (vertices agtype);