QuickStart Listing graphs
How to list graphs.
About this task
Discover information about all the graphs on a cluster with the system
commands.
As with all queries in Graph, if you are using Gremlin console, alias the graph traversal g to a graph with |
Procedure
-
To discover all graphs that exist, use a system command:
system.graphs()
In Studio:
In Gremlin console:
==>food_qs
-
To discover information about all the graphs that exist:
system.list()
In Studio:
In Gremlin console:
==>Name: food_qs | Engine: Core | Replication: {SearchGraph=1, class=org.apache.cassandra.locator.NetworkTopologyStrategy}