An open API service indexing awesome lists of open source software.

https://github.com/weavejester/hassium

Another Clojure MongoDB library
https://github.com/weavejester/hassium

Last synced: 5 months ago
JSON representation

Another Clojure MongoDB library

Awesome Lists containing this project

README

          

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)))