Changeset [4dcf83cec890811e46a565e0c2d3697859136779] by Andreas Ronge

August 20th, 2014 @ 06:44 AM

Started changing association and query_proxy, support has_many #416

The question is if we should try to use cypher or if we should use the Neo4j::Node.node/rel/nodes/rels methods. I think the latter is easier but will not be as efficient on the Neo4j Server because of the many request it requires.

Or we use this solution http://docs.neo4j.org/chunked/stable/cypherdoc-linked-lists.html Can it be done without the root node so that we don't have to create it for empty lists. https://github.com/andreasronge/neo4j/commit/4dcf83cec890811e46a565...

Committed by Andreas Ronge

  • M lib/neo4j/active_node/has_n/association.rb
  • M lib/neo4j/active_node/query/query_proxy.rb
  • M spec/e2e/linked_list_spec.rb
  • M spec/spec_helper.rb
  • M spec/unit/query_proxy_spec.rb
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