Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Another Clojure MongoDB library

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 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.