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
- Host: GitHub
- URL: https://github.com/weavejester/hassium
- Owner: weavejester
- Created: 2010-10-31T00:36:18.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2010-12-04T00:53:59.000Z (about 15 years ago)
- Last Synced: 2025-07-07T22:40:02.573Z (6 months ago)
- Language: Clojure
- Homepage:
- Size: 106 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)))