1
votes

I'm new at Neo4j and I'm wondering is there any way to query a graph with vertices are labels of all nodes and edges are type of all relationship in the database? Thanks for your time!

1
you want to get schema of neo4j db?Govind Singh
Yeah exactly, do you know which cypher command could do it?Cypherius

1 Answers

0
votes

for upper versions from neo4j 3.0 you can use below query

// What is related, and how
CALL db.schema()

enter image description here

you can simply find this query in your neo4j browser console

enter image description here