Fork me on GitHub

Neo4J: Drop ALL the nodes!

START n = node(*) MATCH n-[r?]-() WHERE ID(n)>0 DELETE n, r;

Tags: neo4j