Skip to content

Instantly share code, notes, and snippets.

@n5i
Created August 21, 2014 20:54
Show Gist options
  • Save n5i/000954eb6d2901cfa12c to your computer and use it in GitHub Desktop.
Save n5i/000954eb6d2901cfa12c to your computer and use it in GitHub Desktop.
Neo4j orphan nodes detection
MATCH (n)
WHERE NOT EXISTS((n)--())
RETURN n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment