Skip to content

Instantly share code, notes, and snippets.

@yedi yedi/gist:8162720
Created Dec 28, 2013

Embed
What would you like to do?
db.clj
(defn get-analysis [title]
(let [conn (connect-db!)]
(d/q '[:find ?analysis
:where
[?poem :poem/title title]
[?poem :poem/analysis ?analysis]]
(d/db conn))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.