Skip to content

Instantly share code, notes, and snippets.

@yedi
Created December 28, 2013 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yedi/8162720 to your computer and use it in GitHub Desktop.
Save yedi/8162720 to your computer and use it in GitHub Desktop.
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