Even though it is not idiomatic Clojure to mutate vars like this, it is very common for many applications to only use one MongoDB connection (so, no per-thread var rebinding) and one main database. For those cases, these function eliminate the need for mundaine hacks with namespace switching. |
||
|---|---|---|
| .. | ||
| monger/test | ||