Browse files

Fixing db_contents.clj

  • Loading branch information...
1 parent 63b6d42 commit 56547f5dacd61d3751de1110d143b08920afb7b8 @vinothkr vinothkr committed Apr 13, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 db_contents.clj
View
8 db_contents.clj
@@ -1,15 +1,15 @@
-(require 'clj-record.config)
+(require 'clj-record.test-model.config)
(require 'clojure.contrib.sql)
(println "manufacturers")
-(clojure.contrib.sql/with-connection clj-record.config/db
+(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.config/db
- (clojure.contrib.sql/with-query-results rows ["select * from 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))))

0 comments on commit 56547f5

Please sign in to comment.