aboekhoff/congomongo — pull request #54 by alexpw (2012-02-23 20:56:51+00:00)
Title: Change databases using one mongo connection (with-db)

Implemented the suggested solution from purcell, by adapting the code from Jaor and heyduck.

More information is here: https://github.com/aboekhoff/congomongo/pull/53

Examples:

```clojure
(set-connection! conn)
(with-db :test
(fetch-one :votes))
```

or

```clojure
(with-mongo conn
(with-db :test
(fetch-one :votes)))
```