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"
(tx
(let [c (new-node) b (new-node)]
(relate (top-node) :customers c)
(relate c :customer b)
(.setProperty b "name" "Bob")
(success))))

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 *

Subscribe

Upcoming Event

 


From the CEO

Emil's Blog


Have a Graph Question?

Stackoverflow
Slack
Contact Us

Share your Graph Story?

Email us: content@neotechnology.com


Popular Graph Topics