Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Another Clojure MongoDB library
Clojure
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/hassium
test/hassium/test
.gitignore
README.md
project.clj

README.md

Hassium

Hassium is a MongoDB client library for the Clojure programming language.

Install

Add the following dependency to your project.clj file:

[hassium "0.2.0"]

Example

(use 'hassium.core)

(def db
  (database "demo")) 

(def people
  (collection db "people"))

(insert people {:name "Alice"}
               {:name "Bob"}
               {:name "Carol"})

(doseq [person @(find-all people)]
  (println (:name person)))
Something went wrong with that request. Please try again.