Liking cljdoc? Tell your friends :D

Embedded Datomic Free

A quick start version of datomic-free. Just load the library, spawn a transactor, and start transacting / querying.

Install

[org.clojars.rutledgepaulv/embedded-datomic-free "0.1.0"]

Usage


(require '[embedded-datomic-free.core :as edf])
(require '[datomic.api :as d])
(def options {:license-key (System/getenv "DATOMIC_LICENSE_KEY")})
(def proc (edf/start (edf/embedded-datomic options)))
(def conn (edf/connect proc "test-db"))
(def db (d/db conn))

License

Datomic Free License

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close