Introduction
------------------------------------------------------------
severin-monger provides connection pooling for MongoDB by
implementing the severin API.
A created resource holds a database connection
(com.mongodb.MongoClient), a database instance
(com.mongodb.DB) and the URI.
Installation
------------------------------------------------------------
This library can be installed from Clojars[1].
Leiningen/Boot
--------------
[zcfux/severin-monger "0.3.0"]
Usage
------------------------------------------------------------
(use 'severin.pool.monger)
(def pool (severin.core/make-pool))
(severin.core/with-pool pool [db "monger://localhost/test"]
(monger.core/find (:db r) "foobar" {}))
References
------------------------------------------------------------
(HTM) [1]: Clojars
WWW
------------------------------------------------------------
(BIN) master.zip
(HTM) GitHub