#103 ✓resolved
Andreas Ronge

Neo4j::Relationship.new

Reported by Andreas Ronge | January 26th, 2010 @ 09:51 PM | in 0.4.0

There are three ways of creating relationships.
Neo4j::Relationship.new which returns a new relationship between two nodes.
Neo4j::Node#rels(:outgoing/:incoming) << node1 << node2 which allow chaining
And then the declared version
node.friends << node2

The Neo4j::Relationship.new should replace the Neo4j::Node#add_rel method (?)

http://twitter.com/ronge/status/8085023536

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

Pages