age-website icon indicating copy to clipboard operation
age-website copied to clipboard

List function

Open usmann123706 opened this issue 1 year ago • 0 comments

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);

usmann123706 avatar Sep 27 '24 07:09 usmann123706