#79 ✓resolved
Andreas Ronge

has_list support for delete node from list

Reported by Andreas Ronge | September 28th, 2009 @ 09:56 PM | in 0.3.3

When a node is deleted the node should automatically be deleted from a lists it is member of

Example
class Foo
include Neo4j::NodeMixin has_list :stuff end

f = Foo.new
node = Neo4j::Node.new
f.stuff << node
f.stuff.size # => 1
node.delete
f.stuff.size # => 0

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

Referenced by

Pages