Neo4j.rb

Software Screenshot:
Neo4j.rb
Software Details:
Version: 6.1.1 updated
Upload Date: 9 Feb 16
Distribution Type: Freeware
Downloads: 99

Rating: 1.0/5 (Total Votes: 1)

Neo4j.rb is basically an ORM (Object Relational Mapper) for Neo4j. Since Neo4j is a graph engine and not a relational database the correct term would actually be OGM, an Object Graph Mapper.

Like any other ORM, ODM, or OGM, Neo4j.rb supports basic features like properties, indexes, constraints, callbacks, validations, and associations.

These allow developers to write database operations in Ruby and have Neo4j easily translate them to the graph, manipulating and interacting with the data.

Other included features are included migration framework and query builder, along with Neo4j.rb's support for transactions.

This means you can easily skip on using known database interfacing layers like ActiveRecord when dealing with Neo4j databases, and use a dedicated solution like Neo4j.rb.

What is new in this release:

  • Added:
  • ActiveRel was given find_or_create_by, usable across single associations.
  • Changed:
  • In the absense of a model_class key, associations defined in ActiveNode models will use from_/to_class defined in rel_class to find destination.
  • ActiveRel's DSL was made a bit friendlier by making the type, from_class and to_class methods return their set values when called without arguments.
  • Reworked ActiveRel's wrapper to behave more like ActiveNode's, removing some duplicate methods and moving others to Neo4j::Shared, resulting in a big performance boost when returning large numbers of rels.
  • Updated gemspec to require neo4j-core 5.0.1+.
  • Fixed:
  • Longstanding bug that would prevent association changes (<< and ActiveRel.create) in Rails after reload! had been called.
  • ActiveNode#inspect wasn't displaying the id_property.
  • Default property values and magic typecasting not being inherited correctly.

What is new in version 5.2.9:

  • Added:
  • ActiveRel was given find_or_create_by, usable across single associations.
  • Changed:
  • In the absense of a model_class key, associations defined in ActiveNode models will use from_/to_class defined in rel_class to find destination.
  • ActiveRel's DSL was made a bit friendlier by making the type, from_class and to_class methods return their set values when called without arguments.
  • Reworked ActiveRel's wrapper to behave more like ActiveNode's, removing some duplicate methods and moving others to Neo4j::Shared, resulting in a big performance boost when returning large numbers of rels.
  • Updated gemspec to require neo4j-core 5.0.1+.
  • Fixed:
  • Longstanding bug that would prevent association changes (<< and ActiveRel.create) in Rails after reload! had been called.
  • ActiveNode#inspect wasn't displaying the id_property.
  • Default property values and magic typecasting not being inherited correctly.

What is new in version 5.2.1:

  • Added:
  • ActiveRel was given find_or_create_by, usable across single associations.
  • Changed:
  • In the absense of a model_class key, associations defined in ActiveNode models will use from_/to_class defined in rel_class to find destination.
  • ActiveRel's DSL was made a bit friendlier by making the type, from_class and to_class methods return their set values when called without arguments.
  • Reworked ActiveRel's wrapper to behave more like ActiveNode's, removing some duplicate methods and moving others to Neo4j::Shared, resulting in a big performance boost when returning large numbers of rels.
  • Updated gemspec to require neo4j-core 5.0.1+.
  • Fixed:
  • Longstanding bug that would prevent association changes (<< and ActiveRel.create) in Rails after reload! had been called.
  • ActiveNode#inspect wasn't displaying the id_property.
  • Default property values and magic typecasting not being inherited correctly.

What is new in version 4.1.5 / 5.0.0.rc.2:

  • Huge stylist cleanup/refactoring by Brian on the entire gem by Brian armed with Rubocop.
  • Every node create, update, and destroy is now wrapped in a transaction.
  • New `dependent` options for associations: `:delete`, `:destroy`, `:delete_orphans`, `:destroy_orphans`.
  • New `unique: true` option for associations, `creates_unique_rel` class method for ActiveRel. Both of these will result in relationship creation Cypher using "CREATE UNIQUE" instead of "CREATE".
  • Fixed an n+1 query issue during node creation and update.

What is new in version 4.1.5:

  • Huge stylist cleanup/refactoring by Brian on the entire gem by Brian armed with Rubocop.
  • Every node create, update, and destroy is now wrapped in a transaction.
  • New `dependent` options for associations: `:delete`, `:destroy`, `:delete_orphans`, `:destroy_orphans`.
  • New `unique: true` option for associations, `creates_unique_rel` class method for ActiveRel. Both of these will result in relationship creation Cypher using "CREATE UNIQUE" instead of "CREATE".
  • Fixed an n+1 query issue during node creation and update.

What is new in version 4.1.2:

  • Huge stylist cleanup/refactoring by Brian on the entire gem by Brian armed with Rubocop.
  • Every node create, update, and destroy is now wrapped in a transaction.
  • New `dependent` options for associations: `:delete`, `:destroy`, `:delete_orphans`, `:destroy_orphans`.
  • New `unique: true` option for associations, `creates_unique_rel` class method for ActiveRel. Both of these will result in relationship creation Cypher using "CREATE UNIQUE" instead of "CREATE".
  • Fixed an n+1 query issue during node creation and update.

Requirements:

  • Ruby 1.9.3 or higher
  • Neo4j 2.1 or higher

Similar Software

PHP SQL Parser
PHP SQL Parser

13 May 15

Barman
Barman

10 Feb 16

Nomad
Nomad

6 Jun 15

Comments to Neo4j.rb

Comments not found
Add Comment
Turn on images!