Leave a comment

Neo4j Favorites


You certainly already know that you can add a Cypher statement as a favorite by hitting the star button next to the input box

A very useful trick is to start it with a comment, so that the comment appears as the title of the favorite in the favorites tab.

// Isolated nodes - count by label
MATCH (n)
WHERE NOT ((n)--())
RETURN DISTINCT (labels(n)), count(n)

Will be listed as “Isolated nodes – count by labels”

Useful isnt it ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: