You could use something like g.v(0).bothE().sideEffect{g.removeEdge(it);
with http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html Does that work? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - NOSQL for the Enterprise. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. On Tue, Nov 8, 2011 at 9:35 PM, Kevin Dieter <kevin.die...@megree.com> wrote: > Hi, > > I had a bug in my application code that resulted in many relationships > being created to/from node 0 in my neo4j graph. > > Is there a straightforward way to delete all of node 0's relationships? I > know how to do this through the REST API, but in this case I would like to > do it either through the webadmin or using cURL. > > Thanks, > > Kevin > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user