[Neo] Iterator over Relationships?
adamour at iq.harvard.edu
Fri Apr 2 22:58:34 CEST 2010
Is there an easy way to create an iterator over all relations stored in a
database? There's database.getAllNodes().
Why isn't there a getAllRelationships() method? There appears to have been
one in the past, but it looks like it's protected now?
Is there a specific reason why this might be a bad idea? If so, would simply
iterating over the nodes, and getting edges that way be substantially faster
despite touching each edge twice?
More information about the User