Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 7575850672
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (11 sloc) 0.502 kB
(require 'clj-record.test-model.config)
(require 'clojure.contrib.sql)
(println "manufacturers")
(clojure.contrib.sql/with-connection clj-record.test-model.config/db
(clojure.contrib.sql/with-query-results rows ["select * from manufacturers"]
(doseq [row rows] (println row))))
(println)
(println "products")
(clojure.contrib.sql/with-connection clj-record.test-model.config/db
(clojure.contrib.sql/with-query-results rows ["select * from productos"]
(doseq [row rows] (println row))))
Jump to Line
Something went wrong with that request. Please try again.