Michael West
Michael West

Reputation: 1706

neo4j: discover data structure

I am getting started with cypher queries. Before being able to query I need to know about the data structure

When working with a new database how do you discover its model what properties do nodes have what are the relationships and their properties what are the indexes, what properties are indexed

can this be done with cypher queries?

Upvotes: 3

Views: 228

Answers (1)

Eve Freeman
Eve Freeman

Reputation: 33155

I typically do a few queries like:

start n=node(*)
match n-[r?]-m
return *
skip 0
limit 100;

http://console.neo4j.org/r/rynad7

If you have a lot of data you can increase your skip value to see more.

Upvotes: 2

Related Questions