#18 ✓invalid
Andreas Ronge

RelationTraverser should return Nodes instead of relationships

Reported by Andreas Ronge | January 12th, 2009 @ 02:46 PM | in 0.2.0

Today person.relations.outgoing(:friends).each{...} will return relationship objects. In order to return the nodes one has to use the nodes method, example person.relations.outgoing(:friends).nodes.each { ... }

It is better if both the relations and the has_one and has_many methods both returns nodes. Also, if one needs to access the relationship one can use the filter traverser method instead: see ticket #17.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Neo4j.rb is a graph database framework for JRuby.

It provides:

* Mapping of ruby objects to nodes in networks rather than in tables.
* Storage of ruby object to a file system.
* Fast traversal of relationships between nodes in a hugh node space.
* Transaction with rollbacks support.
* Indexing and quering of ruby objects.
* Integration with Rails

People watching this ticket