Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // MATCH orphan nodes in Neo4J
- MATCH (node)
- WHERE NOT( (node)-[]-() )
- RETURN node
- // DELETE orphan nodes in Neo4J
- MATCH (node)
- WHERE NOT( (node)-[]-() )
- DELETE node
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement