rom-neo4j icon indicating copy to clipboard operation
rom-neo4j copied to clipboard

Use the neo4j-cypher Gem to embed a fluent query DSL

Open nando opened this issue 10 years ago • 3 comments

Fluent interface will add a lot of value to the API

NOTE: Possible enhancement extracted from this @maetl's comment: https://github.com/rom-rb/rom-neo4j/pull/3#issuecomment-138078536

nando avatar Sep 07 '15 16:09 nando

@maetl I don't know neo4j-cypher and please ignore this if so but, do you know http://github.com/maxdemarzi/neography???

nando avatar Sep 09 '15 19:09 nando

@nando Yes, I have used Neography before.

The main difference with our approach is that ROM separates mapping and object construction from the relations/query DSL—whereas Neography embeds the query DSL and graphdb into model classes, active record style.

maetl avatar Sep 10 '15 23:09 maetl

The neo4j-cypher gem was used in the legacy version of Neo4j.rb and never supported versions past 1.9. Sticking with the Neo4j-core gem is probably your best bet, the Cypher DSL is quite good, IMO.

subvertallchris avatar Jan 12 '16 08:01 subvertallchris