Correct change log
This commit is contained in:
parent
bffb58cc1f
commit
d5b0e2c8be
1 changed files with 2 additions and 1 deletions
|
|
@ -6,11 +6,12 @@
|
||||||
implementation that can use any database:
|
implementation that can use any database:
|
||||||
|
|
||||||
``` clojure
|
``` clojure
|
||||||
|
(require '[monger.core :as mg])
|
||||||
(require '[monger.cache :as cache])
|
(require '[monger.cache :as cache])
|
||||||
|
|
||||||
(let [db (mg/get-db "altcache")
|
(let [db (mg/get-db "altcache")
|
||||||
coll "cache_entries"
|
coll "cache_entries"
|
||||||
c (db-aware-monger-cache-factory db coll)]
|
c (cache/db-aware-monger-cache-factory db coll)]
|
||||||
(comment "This cache instance will use the altcache DB"))
|
(comment "This cache instance will use the altcache DB"))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue