age icon indicating copy to clipboard operation
age copied to clipboard

Query to return list of graphs

Open susano0 opened this issue 2 years ago • 3 comments

I feel there should be a query that would return the names of the different graphs I have created. After creating a bunch of graphs, it gets difficult to recall their names.

Creating a new query with the syntax SELECT * FROM ag catalog.get graph list() could be a solution to this issue.

Also, a further enhancement could be to associate a short description with the graph name.

susano0 avatar Oct 05 '22 16:10 susano0

SELECT * FROM ag_catalog.ag_graph;

TropicalPenguin avatar Oct 05 '22 17:10 TropicalPenguin

@susano0 I'm reopening for discussion.

Should we consider creating a cypher function to do this?

In my opinion, users shouldn't need to know what tables to look at to get this information from. Just my opinion, though.

jrgemignani avatar Oct 06 '22 01:10 jrgemignani

Neo4J appears to offer such diagnostics; neatly overloaded for all vs specific graphs: https://neo4j.com/docs/graph-data-science/current/graph-list/

TropicalPenguin avatar Oct 06 '22 04:10 TropicalPenguin