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

Remove Graph Path from Connection information

Open JoshInnis opened this issue 3 years ago • 6 comments

The Graph Path was used by AgensGraph to know which Graph to run the cypher query against.

MATCH (n) RETURN n;

Since AGE, currently makes the user provide the graph in the query, this is no longer relevant.

SELECT * FROM cypher('graph', $$ MATCH (n) RETURN n $$) as (a agtype);

Image

JoshInnis avatar Oct 11 '22 00:10 JoshInnis

Please assign, I'll work on this

marodins avatar Oct 11 '22 18:10 marodins

this also requires graph name to be extracted from the input with every query in order to retrieve meta data, if the graph name changes

marodins avatar Oct 11 '22 21:10 marodins

I assigned you. Please start the work.

eyab avatar Oct 11 '22 22:10 eyab

@marodins Instead of extracting the metadata every query is it possible to retrieve the metadata while connecting for all graphs?

JoshInnis avatar Oct 11 '22 23:10 JoshInnis

@JoshInnis Definitely, that's a great idea, will implement it that way

marodins avatar Oct 12 '22 18:10 marodins

PR created, feature complete

marodins avatar Oct 19 '22 23:10 marodins