Is there a way to iterate through every node in a neo4j database using py2neo?
My first thought was iterating through GraphDatabaseService
, but that didn't work. If there isn't a way to do it with py2neo, is there another python interface that would let me?
Edit: I'm accepting @Nicholas's answer for now, but I'll update it if someone can give me a way that returns a generator.