Skip to content

Commit

Permalink
Change comments at the bottom of db.clj to showcase the with-db macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
pupeno authored and technomancy committed Mar 9, 2012
1 parent 298904b commit 8aee36c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/clojars/db.clj
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@


(comment
(with-connection (:db config) (add-jar "atotx" {:name "test3" :group "test3" :version "1.0"
:description "An dog awesome and non-existent test jar."
:homepage "http://clojars.org/"
:authors ["Alex Osborne"
"a little fish"]}))
(with-connection (:db config) (find-user "atotx"))
(with-db (add-jar "atotx" {:name "test3" :group "test3" :version "1.0"
:description "An dog awesome and non-existent test jar."
:homepage "http://clojars.org/"
:authors ["Alex Osborne"
"a little fish"]}))
(with-db (find-user "atotx"))
)

0 comments on commit 8aee36c

Please sign in to comment.