Created
February 24, 2014 10:13
-
-
Save AeroNotix/9185045 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn get-entry [short] | |
(-> (kv/fetch-one bucket short) | |
:result | |
:value)) | |
(defn get-all-entries [] | |
(let [keys (wb/keys-in bucket)] | |
(group-by :channel (pmap get-entry keys)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment