Julian Morrison has started to develop a wrapper around Neo4j for Clojure, a Lisp dialect running on the JVM. Here’s how the code using the wrapper can look:

(use 'neo4j)

(with-neo "test"
(let [c (new-node) b (new-node)]
(relate (top-node) :customers c)
(relate c :customer b)
(.setProperty b "name" "Bob")

The neo4j-clojure wrapper library was announced in this thread.

Want to learn more about graph databases? Click below to get your free copy of O’Reilly’s Graph Databases ebook and discover how to use graph technologies for your application today.

Download My Ebook



Leave a Reply

Your email address will not be published. Required fields are marked *


Share your Graph Story?

Email us: content@neotechnology.com

Have a Graph Question?

Contact Us

Popular Graph Topics